|
-
Nov 20th, 2002, 06:18 AM
#1
Thread Starter
Evil Genius
Assigning A Stylesheet....
-
Nov 20th, 2002, 06:27 AM
#2
Fanatic Member
If you need css for only a single element, you're better off using the style attribute:
For example:
<td style="background-color:red">Stuff</td>
-
Nov 20th, 2002, 08:34 AM
#3
Fanatic Member
how about creating a class and applying it to the tags you require? Just a idea...
Code:
.aClass {color:red;}
.......
<a class="aClass" href="http://www.test.com">Test</a>
-
Nov 20th, 2002, 08:37 AM
#4
Thread Starter
Evil Genius
Thanks for the suggestions! 
I cheated & just took out a style element from the stylesheet that was conflicting with my right frame.
-
Nov 20th, 2002, 02:50 PM
#5
Frenzied Member
Or if it's for one element only you could use an ID:
Code:
CSS:
#myId {
/*Blah blah...*/
}
HTML:
<p id="myId"><!--blah blah--></p>
-
Nov 20th, 2002, 02:58 PM
#6
Black Cat
Look into the @import thing for CSS - I'm not sure off hand if it'll do what you want, and it defininately won't work with older browsers (NS4, etc).
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|