[thelist] margins help

aardvark roselli at earthlink.net
Thu Jun 21 07:38:11 CDT 2001


> From: Schaz <schaz at ozemail.com.au>
[...] 
> Problem:
> The site I'm currently working on has an SSI for the navbar (which
> sits inside a table with a custom class attached to it) along the top
> and we want this to sit flush left & top so the margins have been set
> 0 for left & top in the linked css. This is where we have the problem
> - now all the text is flushed left against the margin.
> 
> Is there a way of getting a margin for everything else but the SSI
> which needs to be flush top & left?

ok, you using tables for layout?  or trying the whole CSS-P thing?   
i've done this is both ways...

if you're using tables, try adding a blank cell/column before the 
copy with a &nbsp; (or more)... set your page margins to 0, and 
that should work...

if not using tables, set your page margins to 0, and then either 
class or use an inline style to set your padding-left or margin-left 
(depending on what works best when your other CSS is weighed 
in) on your content box... you may want to set the margin-
right/padding-right as well...

if that don't help, post a URL...





More information about the thelist mailing list