Adding colour around a website

N

nmh

I am using Expression Web and I have set the width of my website to 760px and
centered it. I would like to add a colour - blue perhaps - around the website
so the viewer will not be "hit" by white.

How do I do that, please.

Thanks.
Norm.
 
H

Helpful person

I am using Expression Web and I have set the width of my website to 760pxand
centered it. I would like to add a colour - blue perhaps - around the website
so the viewer will not be "hit" by white.

How do I do that, please.

Thanks.
Norm.

The user is not hit by white but by whatever they have on their
desktop. What is outside your website you have no control over,

www.richardfisher.com
 
N

nmh

What I am getting at is the colour around the outside of the actual web page.
For example, like yahoo.com does - colour bars on either side. How is that
done.

Many thanks. Norm.
 
H

Helpful person

What I am getting at is the colour around the outside of the actual web page.
For example, like yahoo.com does - colour bars on either side. How is that
done.

Many thanks. Norm.

Yahoo.com does not show any color arround the web for me. You
probably want to put a colored border arround the body. Look up
borders.

www.richardfisher.com
 
R

Ronx

Set a background colour (blue?) for the body, and set a different background
colour (white?) for the centered page container

In the <head> of the page add CSS so the page resembles:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Centered page with blue borders</title>
<style type="text/css">
body {
background: blue;
margin:0;
padding:0;
}
#wrapper {
background: white;
margin: 0 auto;
width: 760px;
}
</style>
</head>
<body>
<div id="wrapper">
page content
</div>
</body>
</html>


--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
T

Tina Clarke

nmh said:
I am using Expression Web and I have set the width of my website to 760px
and
centered it. I would like to add a colour - blue perhaps - around the
website
so the viewer will not be "hit" by white.

How do I do that, please.

Thanks.
Norm.


Do you mean the background of the page?

btw if your using expression web you will be better off in the expression
web newsgroup and there is also a ms forum

microsoft.public.expression.webdesigner

http://social.expression.microsoft.com/Forums/en-US/web/threads

which version of ew are you using?

what is the link to your site?

You can use css properties to set the background....

Tina
 
R

RFS

Use a table with three colums X 1 row. Paste your website in the middle
column, then you can change the color the other two the same or different.
You'll have to do the math as to the wiidth of the columns. It's actually
quite easy, and a great tool. You can use an array of borders for the columns
by going to Format>borders and shadows. Good luck!
 

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