HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
rowspan td height problems IE/Firefox
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
infekt-work



Joined: 29 Jun 2005
Posts: 4

PostPosted: Thu Jun 30, 2005 8:44 am     rowspan td height problems IE/Firefox Reply with quote

There has got to be a way to make these td's have a fixed height in IE.. the overall height is determined by the varying content in the right cell, therefore also requiring cell "b" to have a variable height.

Here is the code and image of the different results created by three different browsers. Firefox is the only one giving me the correct result I am looking for. I have tried many different things but cannot get the result I am looking for. If anyone could help out it'd be SO greatly appreciated.



Thanks,
infekt
lauxa



Joined: 10 Jul 2005
Posts: 2

PostPosted: Sun Jul 10, 2005 12:03 pm     Reply with quote

I just struggled with this for several hours, and have decided that when using "rowspan" or "colspan" IE just completely ignores the height suggestions.

Here's something that works in IE, but unfortunately Netscape ignores the "height=100%" attribute so it doesn't work there. Mabye you can display different code based on the browser somehow...

<!---- outer table has 1 row, 2 columns ---->
<table border="1">
<tr>
<td valign="top">
<!---- inner table has 3 rows, 1 column ---->
<table border="1" height="100%">
<tr>
<td height="20">a</td>
</tr>
<tr>
<td>b</td>
</tr>
<tr>
<td height="20">c</td>
</tr>
</table>
</td>
<td background-color="#696969" height="200">
<br>
</td>
</tr>
</table>

On my site I didn't need the footer cell, so it was easier. I'd love to see someone implement this in CSS, but it's beyond my abilities.

Good luck.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial