[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Tables not playing nicely.

Posted on 2011-02-23
2
Medium Priority
?
225 Views
Last Modified: 2012-05-11
Hello,

Please see the attached code for a table. What I'm expecting is when the text is resized, the two middle row of the two outer tables should expand vertically taking up as much space as possible... Can anybody spot anything obvious?

Thanks.
Uni
.FullHeight{
	height:100%;
}

.BoxSize{
	width:20px;
	height:20px;
}

<table>
	<tr>
		<td class="FullHeight">
			<table>
				<tr><td class="BoxSize"><img src="tl.png"/></td></tr>
				<tr><td class="FullHeight"></td></tr>
				<tr><td class="BoxSize"><img src="bl.png"/></td></tr>
			</table>
		</td>
		<td>Test</td>
		<td class="FullHeight">
			<table>
				<tr><td class="BoxSize"><img src="tr.png"/></td></tr>
				<tr><td class="FullHeight"></td></tr>
				<tr><td class="BoxSize"><img src="br.png"/></td></tr>
			</table>
		</td>
	</tr>
</table>

Open in new window

0
Comment
Question by:Unimatrix_001
2 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 2000 total points
ID: 34964874
For a full height of a child container, the wrapping container should be set also to 100%, begin with body.
0
 
LVL 3

Author Closing Comment

by:Unimatrix_001
ID: 34968246
Thank you! :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question