So, I was making a new website layout, it was my first time... I got everything done in my template except for linking. So I add a link to one of the images, and it gets this aweful large blue border around it which messes the entire page up. Is there some way to stop this ugly blue border?
(My site is here, if you need it.)
How can I get rid of the border on linked images?
Started by Aphaeros, Mar 18 2006 02:05 PM
8 replies to this topic
#1
Posted 18 March 2006 - 02:05 PM
#2
Posted 18 March 2006 - 02:19 PM
Put this is your css style img { border: 0px; margin: 0px; padding: 0px; }
#3
Posted 18 March 2006 - 02:26 PM
I did as you said, but the border is still there...
#4
Posted 18 March 2006 - 02:26 PM
put style="border: 0px;" on your <a>
#5
Posted 18 March 2006 - 02:29 PM
Nope, still not working...
#6
Posted 18 March 2006 - 02:38 PM
it's not the link that has the border, but the image. just add border="0" to your <img> tag (no css, nothing special, just copy/paste).
#7
Posted 18 March 2006 - 04:18 PM
img{
border: 0;
}
in teh css would be more convienient if there's quite a few images.'
and and tiki,
if something is 0 in measurement, you dont need to add a unit like pixels. just "0" is fine.
... AND images are default with 0 margin and 0 padding.
border: 0;
}
in teh css would be more convienient if there's quite a few images.'
and and tiki,
if something is 0 in measurement, you dont need to add a unit like pixels. just "0" is fine.
... AND images are default with 0 margin and 0 padding.
#8
Posted 18 March 2006 - 07:20 PM
I got it to work. Thanks for the help everyone!
#9
Posted 18 March 2006 - 07:44 PM
Im ocd when it comes to coding, everything has to be 0px or be named even if it has 0.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
