View Full Version : css underline color - not for avatars and co ?
fatxy
04-20-2006, 06:04 PM
hello,
i changed the default body textdecoration hover css to
none; border-bottom:1px solid #FF0000
but now also avatars and the header logo picture has the underline, i searched and worked a bit but couldnt find the proper 'section' to add border-bottom:none
can anyone help?
KTBleeding
04-20-2006, 08:59 PM
hello,
i changed the default body textdecoration hover css to
none; border-bottom:1px solid #FF0000
but now also avatars and the header logo picture has the underline, i searched and worked a bit but couldnt find the proper 'section' to add border-bottom:none
can anyone help?Not sure if I understood you correctly, but I believe if you add:
img {
border-bottom: 0px;
}
to your css, that should do the trick.
fatxy
04-20-2006, 09:28 PM
nah its cause of the images are link, like the new thread button
i thought there is a special class for that which i cant find, maybe im wrong and its not that easy to change
should be sth like this
a.no:hover { text-decoration:none; border-bottom:none }
Freesteyelz
04-20-2006, 11:06 PM
You're globally setting the text-decoration:underline which will affect any link type. If you want the image links to appear without the underline I think you only need to set the <td> and <div> tags with that text-decoration. Then you can apply the text-decoration:none;border-bottom:none for your image links.
*Though, the default behavior of links is underlined. So if you keep the <body> at default and apply KTbleeding's code it should work.
fatxy
04-21-2006, 08:45 AM
i tried it without success
img a:hover { text-decoration:none; border-bottom:none }
example for my prob: http://people.freenet.de/fatxyz/test.html
--> its not possible without classes, so is there any class for images in vb?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.