/    Sign up×
Community /Pin to ProfileBookmark

height="100%" bug in IE

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%”.

[code] <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>
[/code]

The problem is caused by the: [b]height=”100%”[/b]

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:

[URL=http://appleology.com/images/100_percent_issue.png]Internet Explorer example.[/URL]

[URL=http://appleology.com/images/100_percent_issue2.png]Firefox example of how it should appear.[/URL]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@DJRobThaManJan 24.2006 — Why not give it an actual pixel value.
Copy linkTweet thisAlerts:
@FangJan 24.2006 — Give the nested table's container [I]height="100%"[/I]
&lt;td height="455" align="center" valign="top"&gt;&lt;table width="730" height="100%" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td width="271" valign="top" [COLOR=Green]height="100%"[/COLOR]&gt;&lt;table width="269" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#B1CBE4"&gt;
&lt;tr&gt;
Copy linkTweet thisAlerts:
@ShrineDesignsJan 24.2006 — height is an invalid attribute for table, use css
×

Success!

Help @Appleologist spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...