problem with centered pages - change white background to black?

W

Wintensive

Great board, very helpful...Thanks!

I figured out how to cause the entire page to always center itself
(with the help of everyone on this site). However, all the space
around the centered website is white. I would like it to be black.
Is there code I can put in to control the extra space that IE puts
around a webpage? Thanks in advance to everyone!

Jason T.
 
R

Rob Giordano \(Crash\)

Anywhere within the <head> </head> tags of your page add

<style type="text/css">
body {background-color: black}

Dunno if Pub will let you keep it though.

I'd like to see your centered website can you post a URL for it?



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





| Great board, very helpful...Thanks!
|
| I figured out how to cause the entire page to always center itself
| (with the help of everyone on this site). However, all the space
| around the centered website is white. I would like it to be black.
| Is there code I can put in to control the extra space that IE puts
| around a webpage? Thanks in advance to everyone!
|
| Jason T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top