View Full Version : More then one style sheet on the same page
squeakyfiji
November 29th, 2003, 21:06
Is it posible to have more then one style sheet on the same page? If not is it posible to override a style sheet in one place?
Thanks,
Steve
squeakyfiji
November 29th, 2003, 23:08
so I was thinking about this and reading about it...can I just make a custom class and if so how I do this?
Thanks,
Steve
srikat
November 30th, 2003, 00:42
You might probably find the solution at www.alistapart.com or google for 'style switcher'
squeakyfiji
November 30th, 2003, 01:59
I have been able to make a class so that it is white before it was visited however once the link is visited it goes to blue.
This is my code without any java script.
A {color : #CC0000 }
.white {color : #FFFFFF }
A:Visited {color : #000099}
A.white:Visted {color : #FFFFFF }
and
<font size="3" face="Impact" color="#FFFFFF"> <a href="./schedule.html" class="white" style="Visited">Schedule</a> | <a href="bukesher.org" class="white">Test</a></font>
any ideas?
Thanks,
Steve
bloodyveins
December 1st, 2003, 07:33
what you are doing is implementing pseudo class.
wish this could help: http://www.htmlhelp.com/reference/css/structure.html
Loon
December 13th, 2003, 10:21
You're half there except you're trying to use the "visited" element as the class name in your link
a.white:link {
color : #FFFFFF;
}
a.white:visited {
color : #FFFFFF;
}
a.white:hover {
color : #004080;
}
<a class="white" href="mypage.html">click here</a>
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.