In article <op.s9q93ze4l8uz2z@zoete_b>, Barbara de Zoete
<trashbin (AT) pretletters (DOT) net> writes
Quote:
Suppose I have a div that contains the content of my page. I would like
to have this div centred in the browser, with a (say) 10px margin on
either side.
What if I now want to add a max-width to #stuff?
You could do something like:
snip
|
Thanks for the suggestion. I actually found I could do it simply by
adding padding to the body. I never thought of that, but it basically
requires the content to keep a small distance from the edges of the
window, which was exactly what I wanted. I didn't need to muck about
with invisible borders, which was a good job as the real page as a
border set on that div already!!
Thanks again
--
Alan Silver
(anything added below this line is nothing to do with me)