[thelist] making div's 100% wide?

Martin martin at members.evolt.org
Sun Jun 17 13:03:28 CDT 2001


PageHealer wrote on 17/6/01 6:26 pm

>Is there any way to specify a div as 100% width and actually have it fill
>100% of the screen width? I have tried applying background colors to my
>divs, and the color doesn't extend all the way to the right side of the
>page. (I've also tried this in 100% tables within the 100%-width div, with
>the same result.) If I make the div's width more than 100%, it works, but it
>adds horizontal scroll bars. And when you scroll to the right, you still see
>the ugly gap.

Emily

What's your body tag doing in terms of margins (in the tag and
in CSS)?

Martin

_______________________________________________
email: martin at easyweb.co.uk             PGP ID: 0xA835CCCB
       martin at members.evolt.org      snailmail: 30 Shandon Place
  tel: +44 (0)774 063 9985                      Edinburgh,
  url: http://www.easyweb.co.uk                 Scotland





More information about the thelist mailing list