
June 9th, 2004, 10:47 AM
|
|
Contributing User
|
|
Join Date: Mar 2003
Location: Leicester, england
Posts: 133
  
Time spent in forums: 1 Day 8 h 32 m 2 sec
Reputation Power: 7
|
|
Disable css class
Hi there,
In my stylesheet I've written a style for the table tag:
Code:
table {
width: 500px;
margin: auto;
text-align: left;
border: 1px solid #999999;
font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
line-height: 140%;
margin-bottom: 10px;
padding-bottom: 15px;
font-size: 14px;
padding-left: 10px;
}
All the main tables on my site need to be this exact style. I now need to create a table which shouldn't use the table style above. I could have just pasted the stylesheet info directly to the page (and delete the css link at the top of the page), and then delete the table info, but can't do this because the stylesheet link location is dynamic (my new site design will alternate a stylesheet every 24 hours).
Anyone know how I can tell the css to not apply the style to an element?
Thanks,
saj
__________________
www.snkhan.co.uk
see life in colour >>>
|