Quote:
Originally Posted by om_prakash
Change:
Code:
<div id="inner_banner">some text here</div>
to
Code:
<div class="inner_banner">some text here</div>
|
Imar hit the solution on the head. More generally, if you have an id="myId" the CSS syntax is...
Code:
#myId {
...style declarations...
}
If you have a class="myClass" the syntax uses a period...
Code:
.myClass {
...style declarations...
}
I'd say depending on the stylesheet that 30-50% of my style rules redefine tag styles, 40-60% style IDs, and the 10-30% redefine classes. These are workhorses of CSS. :)
__________________
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Last edited by chroniclemaster1; December 31st, 2009 at 04:08 PM..
|