PC Review


Reply
Thread Tools Rate Thread

Adding colour around a website

 
 
nmh
Guest
Posts: n/a
 
      11th Nov 2009
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.
 
Reply With Quote
 
 
 
 
Helpful person
Guest
Posts: n/a
 
      11th Nov 2009
On Nov 11, 2:46*pm, nmh <n...@discussions.microsoft.com> wrote:
> 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
 
Reply With Quote
 
nmh
Guest
Posts: n/a
 
      11th Nov 2009
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.

"Helpful person" wrote:

> On Nov 11, 2:46 pm, nmh <n...@discussions.microsoft.com> wrote:
> > 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.

>
> 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
> .
>

 
Reply With Quote
 
Helpful person
Guest
Posts: n/a
 
      11th Nov 2009
On Nov 11, 4:27*pm, nmh <n...@discussions.microsoft.com> wrote:
> 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
 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      11th Nov 2009
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.



"nmh" <(E-Mail Removed)> wrote in message
news:E32415EB-D830-4530-8E15-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
nmh
Guest
Posts: n/a
 
      12th Nov 2009
Thanks Ron. I am having some trouble "splicing in the code" but will work at
it. Norm.

"Ronx" wrote:

> 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.
>
>
>
> "nmh" <(E-Mail Removed)> wrote in message
> news:E32415EB-D830-4530-8E15-(E-Mail Removed)...
> > 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.

>
> .
>

 
Reply With Quote
 
nmh
Guest
Posts: n/a
 
      12th Nov 2009

I was thinking of the following URL: http://ca.yahoo.com/?p=us. Would these
be borders or ?

Thanks, Norm.

"Helpful person" wrote:

> On Nov 11, 4:27 pm, nmh <n...@discussions.microsoft.com> wrote:
> > 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
> .
>

 
Reply With Quote
 
Helpful person
Guest
Posts: n/a
 
      12th Nov 2009
On Nov 11, 8:05*pm, nmh <n...@discussions.microsoft.com> wrote:
> I was thinking of the following URL:http://ca.yahoo.com/?p=us. Would these
> be borders or ?
>
> Thanks, Norm.


Possibly background on the body and white on the contained div.
Anyway it's extremely ugly.

www.richardfisher.com
 
Reply With Quote
 
Tina Clarke
Guest
Posts: n/a
 
      13th Nov 2009
"nmh" <(E-Mail Removed)> wrote in message
news:E32415EB-D830-4530-8E15-(E-Mail Removed)...
>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.c...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

--
F ree Expression Web Toolbar - Expression Web and Web Design Resources
http://frontpage-to-expression.com/e...y-toolbar.html
Just posted new links to the toolbar - Make YOUR suggestions
Will work in FireFox IE and Safari


 
Reply With Quote
 
RFS
Guest
Posts: n/a
 
      15th Nov 2009
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!

"nmh" wrote:

> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a colour permanently to the MS Office colour palette LNA Microsoft Access 6 2nd Sep 2009 02:32 PM
Adding Colour VBA Noob Microsoft Excel Programming 2 25th Apr 2006 09:47 PM
How do I get the background colour to appear once my website is p. =?Utf-8?B?U0pX?= Microsoft Frontpage 1 29th Mar 2005 09:37 PM
Adding colour to certain fields =?Utf-8?B?SmVzc2U=?= Microsoft Access Forms 1 16th Dec 2004 10:38 PM
Adding custom colour Diana Microsoft Frontpage 4 8th Sep 2003 08:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:31 AM.