Click to See Complete Forum and Search --> : height="100%" bug in IE


Appleologist
01-23-2006, 07:56 PM
I am a semi-beginner web developer, and I am currently having an issue with the variable: 'height="100%"'. I am using that variable on 2 columns in a table. (As seen in screenshots.)

Here is a part of the page's code that causes the error in IE (but works fine elsewhere). Note the height="100%".

<td height="455" align="center" valign="top"><table width="730" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="271" valign="top"><table width="269" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#B1CBE4">
<tr>


The problem is caused by the: height="100%"

I am using Dreamweaver for Mac, and the issue only occurs in IE. I have been researching the issue, and haven't found a fix.

Any help would be great!

Links to images concerning the error:

Internet Explorer example. (http://appleology.com/images/100_percent_issue.png)

Firefox example of how it should appear. (http://appleology.com/images/100_percent_issue2.png)

DJRobThaMan
01-23-2006, 10:01 PM
Why not give it an actual pixel value.

Fang
01-24-2006, 02:18 AM
Give the nested table's container height="100%"
<td height="455" align="center" valign="top"><table width="730" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="271" valign="top" height="100%"><table width="269" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#B1CBE4">
<tr>

ShrineDesigns
01-24-2006, 03:51 AM
height is an invalid attribute for table, use css