I am a relative newbee
I am having problems with applying a style on a style sheet.
I have created a div and created a class. In the style sheet file I did the
following:
"div.TopBar {
background: Silver url(Images/BlueBar.jpg) repeat-x;
}"
In the html I did the following:
"<div class="TopBar">
<a href="pages/contactus.htm">Contact Us</a>
</div>"
And I do not get the background bar that is the image. If I do an "inline"
style as below:
"<div class="TopBar" style="background: Silver url(Images/BlueBar.jpg)
repeat-x">
<a href="pages/contactus.htm">Contact Us</a>
</div>"
Then it works. What gives?
If you do not see the html instead you see a a href then please check source
code, as I do not know how to post without html being converted