[thelist] help with fluid css layout
Sarah Sweeney
mr.sanders at designshift.com
Fri Jul 22 10:39:38 CDT 2005
> One option is to extend the paragraph class like this when you do want
> margins/padding/etc
>
> <style>
> p {margin: 0; padding: 0; }
> p.margins{margin:2px;}
> </style>
> <p class="margins">this has a 12px margin</p>
> <p>this doesn't</p>
I wish I could do this, but the site uses a CMS, so I don't have this
kind of control over the contents of the content div. Besides which,
it's very un-semantic, and makes me feel kinda icky :P
--
sarah sweeney
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca
More information about the thelist
mailing list