babyboi
07-10-2005, 07:23 PM
im having problems with my text coloring... isnt there some script that i can type before and after the text to color it? if yes please let me know... THANK YOU :D
|
||||
textbabyboi 07-10-2005, 07:23 PM im having problems with my text coloring... isnt there some script that i can type before and after the text to color it? if yes please let me know... THANK YOU :D mark87 07-10-2005, 08:37 PM The <span style="color:red">text here</span> is red? JamieR 07-10-2005, 08:44 PM that'd work, but wouldn't the hex be a more *semantic* way of doing things? (red = #FF0000) :) mark87 07-10-2005, 08:46 PM lol, if you're being picky then yes... and why don't we in fact make a class as well?! :D span.redtext { color: #F00 } <span class="redtext">Red!</span> mrruben5 07-11-2005, 10:05 AM that'd work, but wouldn't the hex be a more *semantic* way of doing things? (red = #FF0000) :) If you want to be semantic, you should use functions of the class. p.ErrorMessage { color:red; font-weight:bold; } <p class="ErrorMessage">ERROR 404!!!</p> I advice you to read a tutorial about classes, id's and how css works. http://css.maxdesign.com.au/selectutorial/index.htm |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum