English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i am trying to change the background color from gray to white and i think i changed whatever i saw named background to #ffffff but still gray - here is the code...help I am new to this and its suppose to be a content management site????

.company{
font-family: verdana,arial,helvetica;
font-size: 25px;
color: #FFFFFF;
font-weight:bold;
}

.slogan {
font-family: verdana,arial,helvetica;
font-size: 25px;
color: #FFFFFF;
font-weight: bold;
}

.magin {
padding:5px;
}
table { font-size:100%;}
body { font-size:76%;
margin:0;
padding:0;
background-color: #FFFFFF}

a:link {color: #808080; text-decoration: none;}
a:visited {color:#808080; text-decoration: none;}
a:hover {color: #808080; text-decoration: underline;}
a:active {color:#808080; text-decoration: underline;}

.bgtop{background-image: url(images/bgtop.jpg);}
.bgbottom{background-image: url(images/bgbottom.jpg);}
.line{background-image: url(images/line.j

2007-12-13 09:56:27 · 3 answers · asked by torontogal 2 in Computers & Internet Programming & Design

Umn how do i link to this - i am very new to CSS...help

2007-12-13 10:13:44 · update #1

okay still gray background - what am I doing wrong?

2007-12-13 11:50:28 · update #2

3 answers

It's hard to tell from just this bit, but if you've made changes to your css and are not seeing them take effect, you might need to clear your browser cache.

Also, if you're using Firefox, there's a great plugin called Firebug (https://addons.mozilla.org/en-US/firefox/addon/1843). Once you have it installed, you can right click over an element on your page and select 'Inspect Element'. It will show you what styles are being applied to the element and you can see if you have anything that is conflicting.

2007-12-13 10:22:31 · answer #1 · answered by daa 7 · 0 0

Please link directly to the code. It will be much easier for me to help you.

As it is, all I see is the styles, so I can't see what DIVs they apply to, nor can I see what those images/bgtop.jpg and bgbottom.jpg are.

It looks like you're setting the body's background color fine, but there could be something related to the structure of your DIVs that is causing the trouble, it may not even be something you can fix in styles.

Please link it! Or make a copy if you dont want us to see your live code, and just save it as a new HTML file.

2007-12-13 10:04:36 · answer #2 · answered by strantheman 2 · 0 0

Hi! It looks like this css may be using an image as the background .... if you look at .bgtop and .bgbottom .... these images may be gray, and that is where I would look - everything else I see here looks ok ..... check these images bgtop.jpg and bgbottom.jpg ... I bet they are gray ...

Just change those images and you should be up

Hope this helps :)

2007-12-13 10:01:03 · answer #3 · answered by jhamlin15 3 · 0 0

fedest.com, questions and answers