|
|
|||||||
|
can someone please explain this stylesheet?. i'm really new to style sheets, and i would really appriceate the help. thanks in advance .main { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-style: normal; font-weight: bold; color: #999999; } .formfields { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-style: normal; color: #333333; background-color: #666666; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #999999; border-right-color: #999999; border-bottom-color: #999999; border-left-color: #999999; cursor: crosshair; } |
||||||||
|
|
|||||||
|
In your html you will have a class rule something like <p class="main>text here</p> When the browser gets to the class rule called main it knows to look at the style sheet and find the rule there by the .main code, it then adds the style rules set in that class, the bits in the style itself kind of speak for themselfves. Hope that is of use Regards Ian Edited by ianm on 07/02/2005 18:24 (server time). |
||||||||
|
|
|||||||
|
for learning CSS, "cascading style sheets for dummies" is a good book -easy to understand and a good place to get started. http://www.predatorconservation.com |