|
Reflect -> RE: CSS style question (5/20/2003 14:16:27)
|
.p1 { color: 0033cc; background-color: transparent; font-size: 14px; font-weight: bold; } <p class=" p1" >Text</p> By making it a class you can also use it for any HTML tag that you want the text to appear as the same be it <p>, <h3>, etc.. <edit> Or to play off of inheritance you could... p { color: 0033cc; background-color: transparent; font-size: 14px; font-weight: normal; } p.p1 { font-weight: bold; } <p class=" p1" >Bold text</p> </edit> Brian
|
|
|
|