The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[css] how to classify links?
Hopefully this is a good place for this kind of question. I'm playing with vb3, it's gonna be deployed soon. I have made a page design to incorporate the forum and I'm having a little trouble getting the links to look right.
What I want to do is define two different types of links to be used on my code, that is the part of the page that isn't vb. Obviously these definitions should in no way affect (override) any css declared in vb. But since I'm no css specialist, I couldn't get it to work properly. I tried like this.. Code:
.classone a:link, a:hover, a:visited { color: White; font-weight: bold; } .classtwo a:link, a:hover, a:visited { color: Black; } Code:
<div class="classone"><a href="#">link one</a></div> <div class="classtwo"><a href="#">link two</a></div> |
#2
|
||||
|
||||
Quote:
HTML Code:
a.classone:link, a.classone:hover, a.classone:visited { HTML Code:
a:link.classone, a:hover.classone, a:visited.classone { |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|