View Full Version : Extra Css For alt1 and alt2


Lizard King
11th October 2005, 03:20 PM
It has been a long time since i was checking staff about vBulletin because of business.
Last week I upgraded my board and i decided to prepare a new style for my board. Everything is Ok but i am looking for one more step in my style.
In alt1 and alt2 i want to have the url's dotted instead of underline. I tried everything for this In additional CSS definitions i add
alt1:link {
text-decoration: none;
border-bottom: 1px dotted #8E98A4;
color : #8E98A4;
padding-bottom: 0px
}
alt1:visited {
text-decoration: none;
border-bottom: 1px dotted #8E98A4;
color : #8E98A4; padding-bottom: 0px
}
alt1:hover {
text-decoration: none;
border-bottom: 0px dotted #8E98A4;
color : #8E98A4; padding-bottom: 0px
}
but this didn't work out. Is there any way to change the underline to dotted :P

Also any opinion about the style will be appriciated. I'll be planning to release this style within mid November.
www.ayyas.com/forum.php?styleid=76 (http://www.ayyas.com/forum.php?styleid=76)

darnoldy
11th October 2005, 09:02 PM
Is there any way to change the underline to dotted
Try:
.alt1 a:link {
text-decoration: none;
border-bottom: 1px dotted #8E98A4;
color : #8E98A4;
padding-bottom: 0px
}
.alt1 a:visited {
text-decoration: none;
border-bottom: 1px dotted #8E98A4;
color : #8E98A4; padding-bottom: 0px
}
.alt1 a:hover {
text-decoration: none;
border-bottom: 0px dotted #8E98A4;
color : #8E98A4; padding-bottom: 0px
}
The link, visited and hover are psuedo-classes that only belong to A tags, and the alt1 class is usually applied to table cells that contain the link, not the links themselves.

--don

Lizard King
11th October 2005, 09:50 PM
It worked out fine. Thanks