issues with HEIGHTs and DOCTYPES

admin

Administrator
Staff member
Hi everyone!<br />
<br />
If you could please direct your attention to:<br />
<!-- m --><a class="postlink" href="http://dstar.celebrityprofile.co.uk/">http://dstar.celebrityprofile.co.uk/</a><!-- m --><br />
<br />
and then direct your attention to:<br />
<!-- m --><a class="postlink" href="http://dstar.celebrityprofile.co.uk/index_d.html">http://dstar.celebrityprofile.co.uk/index_d.html</a><!-- m --><br />
<br />
You will notice that on the second page, the red line on the left does not extend down to the bottom of the page like I want it to in IE6. In IE6, all that is visible is about 100pixels worth of red line, and this is from a single-pixel image expanded to force that in. In NS7, the second page does not have any line on the bottom left at all.<br />
<br />
The only difference between the two is that the second page has a Doctype declaration; the first has no such declaration.<br />
<br />
The declaration I'm using is: <br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br />
<br />
I've played around with the other declarations from the W3C site with no luck.<br />
<br />
It seems like the HEIGHT attributes of tables are ignored with the doctype declaration-page (the long line is caused by a HEIGHT set to 100%). Does this make sense?<br />
<br />
Obviously I want to have a DOCTYPE declaration to confrom to W3C standards, but at the same time I want the extended line! Any suggestions?<br />
<br />
Thanks a lot for the help,<br />
-Sriram<!--content-->Dunno if this helps or not, but try this slightly different doctype...<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"><!--content-->hmmm... no, it doesn't seem to... but thanks. Does anyone have any other solutions?<!--content-->they both look the same to me.<!--content-->
 
Back
Top