[thelist] why does this page go wide

Mark Howells mark at mountain.ch
Mon Feb 25 10:28:01 CST 2002


> A new client sent me a link for site examples
> http://www.urbanprimitive.com/index.asp and for every screen size the page
> is too wide.  Why is this?

The following line is the problem:

<div id="menucloser" style="position:absolute; left:252px; top:0px;
width:99%; height:100%; z-index:2; visibility: hidden" class="hider">

This div is 252px from the left edge of the screen, plus 99% width. That'll
make it just less than 252px too wide for the screen.

You might want to use the W3C HTML validator to check your code too, as a
forest full of HTML errors will stop the page (and mouseover functionality)
from operating correctly.

Regards
Mark Howells
<http://www.mark.ac/evl/>




More information about the thelist mailing list