On Fri, Jul 17, 2009 at 1:32 PM, bill walton<bwalton...@gmail.com> wrote:
>
> I've got a page with two divs, one over the other, both set to 100%
> width.  The one on the top is positioned absolute at 0,0.  The one under
> it is a nav bar using the sliding window tabs and it's positioned
> float:left.  The one on the top is rendering to 100% width while the one
> under it is not; leaving margins on both the left and right.
>


You need to add this to your CSS:

body { margin: 0; padding: 0; }

Then width: 100% should render the same on both divs.

Erik
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to