Wayne said:
When a css statement such as the following is executed what really
happens to the color:
I am used to colors specified as bgcolor = "#xxxxxx" and am not sure how
the above works?
Wayne
The css has to be coded differently than the html version which is basically
the same thing.
Instead of "background-color:" you can also use just "background:"
In the html version the bg means background.
The colon replaces the =" ".
In css, many of the key words having hyphens, can be shortened to the main
word.
Background-color becomes background.
Margin-left becomes margin.
Padding-left becomes padding.
Background: has 5 subelements.
Each of the 5 elements can be placed after background: seperating each with
a space.
Background: #abc url("images/file.jpg") top center fixed;
What I just did was make the background a certain color, then place an image
on it and position it at the top center of the page, and making it stay
there when the page is scrolled by the user.
It's a shortcut to having to code a new line for each element.
http://www.stoneware.dk/english/default.htm
This editor has a complete library of html, javascript and css elements and
attributes.