Previous Message
Next Message

RE: [css-d] margins and borders!!

Sent by Egor on 18 May 2002 05:05


> But on a pc all of this margin has vanished. The  body border
> is right out at the edge of the page

I'm afraid you can't have both border and margin on the body in PC IE. The
easiest solution would be wrapping your entire page content in a <div> and
then assigning the styles you've currently have on <body>, to to that <div>

> and the borders around the images are directly round the images!

I didn't quite get what you want your images to look like, but if you want
space between border and conent, you should use the 'padding' property.

Egor.
Previous Message
Next Message

Message thread: