Jasper
04-20-2003, 08:01 AM
Can you aply a CSS styile to only one partof your page, lets say,... a table? And if so how do you do that?
-Jasper
-Jasper
|
View Full Version : Css Jasper 04-20-2003, 08:01 AM Can you aply a CSS styile to only one partof your page, lets say,... a table? And if so how do you do that? -Jasper Shaneo 04-20-2003, 08:23 AM Originally posted by the_dark_one02 in this thread (http://www.lissaexplains.com/forum/showthread.php?s=&threadid=31676) theres is a way to this. you just have to use classes in your CSS (this example is from my site) like this:- for the links on my page which i wanted to turn red i put this into my css "A:link.red,A:visited.red,A:active.red{text-decoration:none; color:#ff0000;}" <---notice the A:link.red which tells the css that this style is for the class"red" so in yer html links you add this "<a href="#";class="red">" where red would be the name of the style you want to use. hope that helped! ps just add as many of the .red or whatever to EXTRA things etc for however many styles u want! That help? Jasper 04-20-2003, 09:18 AM no, not really. I know HOW to make CSS styles... But I want to know whether you can apply a CSS style to only one table, and on another table another CSS style... -Jasparma starlet 04-20-2003, 04:04 PM youd have to use css classes http://www.lissaexplains.com/forum//search.php?s=&action=showresults&searchid=61592&sortby=lastpost&sortorder=descending |