Help - Search - Members - Calendar
Full Version: img borders
Forums > Resource Center > Support Center > Createblog Support > Createblog Resolved Topics
res8zenith
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
Mike
Add this to your CSS:

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

See if that works.
res8zenith
...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
Mike
No problem. Topic closed & moved.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.