Log In · Register

 
img borders
res8zenith
post Jul 13 2009, 05:14 PM
Post #1


Senior Member
****

Group: Member
Posts: 268
Joined: Sep 2007
Member No: 569,515



under createblogs div class "comments" every image has a border around it, since i'm a bit lazy, i was wondering if anyone could spot me with a code that gets ride of that i think 5px border.

i'm using this currently to make the images smaller in my stylesheet
CODE
.comment_img{filter:alpha(opacity=100);width:90px;height:90px;}


but i'd like to hve no border and i've tried
img border:0;}, border:0px;}, border-width, hspace= and vspace=

.... stubborn.gif
 
 
Start new topic
Replies (1 - 3)
Mickey
post Jul 13 2009, 05:20 PM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Add this to your CSS:

CODE
#comments a img, #comments a img:hover {border:0px;}

See if that works.
 
res8zenith
post Jul 13 2009, 05:29 PM
Post #3


Senior Member
****

Group: Member
Posts: 268
Joined: Sep 2007
Member No: 569,515



...why didn't i think of that... whistling.gif beer
yay, thanks, wanted to have a stable img active/hover effect

#comments img, #comments img:hover {border:2px;}
#comments a img, #comments a img:hover {border:2px;}

& what about the little trash can images? how do i kill the borders around those?

NEVERMIND, i got i

thanks for all your help! wink.gif
 
Mickey
post Jul 13 2009, 05:32 PM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



No problem. Topic closed & moved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: