[thelist] CSS - Whitespace / Borders

David Bindel dbindel at austin.rr.com
Mon Oct 20 00:16:06 CDT 2003


Tim Burgan wrote:
> I've got a background-mage running down the left of the page
> so I've left padded the body tag 70px.
> 
> Really, I'd like to have 15px padding on the right of the page.

Right now, you have 0 padding on the right.

-- Currently: --------------
body {
    padding: 1em 0 0 70px;
}
----------------------------

If you want 15px padding, guess what:  you're gonna have to add 15px
padding to the right!

-- New: -----------------------
body {
    padding: 1em 15px 0 70px;
    ...
}
-------------------------------

HTH,
David Bindel

-- 
    David I. Bindel
  Website Development
 dbindel at austin.rr.com
  www.davidbindel.com



More information about the thelist mailing list