Chris Williams wrote:

> The reason why I do it is because then I'd have to have the .box (with
> no padding) and then some bogus internal container (.inbox??) that has
> some margin on it.  And it would have to be everywhere there is a box
> (like all over the site), as every box has this padding.  Now, *that*
> seems convoluted to me.


err no.

you just apply margin to the ul's, p's and hx's that you put inside the box.

I've been avoiding horizontal padding since I discovered IE5's box model 
  so it's second nature to me to think in terms of no padding on a 
container (apart from 1px top padding to prevent margin collapse) and 
then margin anything inside it away from the sides.

but hey, position:relative is your friend...

;o)

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to