[thelist] Can't get CSS layout to look correct
Martin Burns
martin at easyweb.co.uk
Thu Jun 20 18:10:00 CDT 2002
On Thursday, June 20, 2002, at 11:36 pm, Bill Mason wrote:
> Width is the width for the actual content within the CSS 'box'. Margin,
> padding, and border are added on top of that.
Which is why a nav bar with 5 elements, all sized at 20% won't fit on
the screen. It's non-logical, but correct.
imo width should include padding and border but exclude margin.
Cheers
Martin
(who has a navbar with 5 elements on his site and had to guesstimate it
down a bit.)
_______________________________________________
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