Background color codes does not work. Help, please

I am trying to add a background color to a page.

But the background color does not appear.

What I do is add, using for example rose:
bgcolor: rose;
the style section.

Here is a simplified version of the code. It just uses the letter "on several occasions to find out where there is a lot more text:

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
"< html xmlns =" http://www.w3.org/1999/xhtml "> "
< head >
< meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
< title > Untitled Document < /title >
< style type = "text/css" >
{p.MsoNormal}
margin: 0 cm;
margin left: 30px;
margin-bottom: .0001pt;
bgcolor: rose;
font-size: 12.0pt;
do-family: "Times New Roman";
}
< / style >
< / head >

< body >
< class p = "MsoNormal" style = "" text-autospace: none; "> < span style =" do-family: Geneva; "" color: black; "> < / span > < / p >"
< class p = "MsoNormal" style = "line-height: 14.0pt;" text-autospace: none; "> < span style =" do-family: "Arial Black"; " font-size: 14.0pt; "> abdellah abdellah aaaaa abdelkrim </span > < / p >"

< / body >
< / html >

What I am doing wrong?

> Hi Ken,.
>
> Did you replace
> bgcolor: rose;
> with
> body {background-color: pink};
>
> I did that, but it does not work.

Your code is wrong. The semicolon must come immediately at the end of the
rule; the curly brackets must be the last thing in the code for each
selector. So:

Body {background-color: pink ;}}

If it still does not... certain colors based on word work well in CSS...
I don't know if 'rose' is one of them (red, black and white are all certainly
safe, but I don't have a list in front of me at the moment)

It would be better to find the HTML code of the desired color and use it
instead.

For example body {background-color: #dec4c5 ;}}

BTW, an excellent (and free) tool for the detection of the colors is Pixie:

http://www.Nattyware.com/pixie.html

--
Tim G.
http://www.pactumweb.com
http://www.shortordersite.com

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Laptop HP Pavilion DV2000: install a new operating system on old laptop

    I have the laptop model is consistent with the provisions, it's old, I know.  It seems not to have an operating system.  How to install a new operating system without knowing which key?  It is said that it was Windows Vista. Is this a good version to

  • PX6 - 300 d - double Raid 1 is not possible?

    Hi guys, I hope I'm missing something, so I'm tender hand to support community. I've had a px6 for awhile now. I love. Works very well with VMWare hypervisors. I've been running a RAID 1 and a RAID 5 for over a year without any problems. Now, my need

  • LV2012 and Fieldpoint

    Hello: I use LabView 2012 (SP1), 5.5 Max, Windows 7 (64 bit) to update a file that uses a 1000 FieldPoint and 6 modules to get the data. I created a file, I can run in my system of development without problem. I create an exe and run it in my system

  • exponential response moving average stage fpga

    Hey guys,. I have a problem with my filter, the exponential weighted moving average filter (IIR 1 st order.). Excerpt from the book: understand the digital signal processing (Richard Lyons) I have the following formula, calculate the frequency of 3dB

  • Cannot install fable the lost chapter pc game

    When I click on install, I get a message that says I don't have permission to install this program. It was installed on my pc before but the system crashed, and now I'm trying to reinstall it .What am I doing wrong?