Okay, I've got this:
.mainarea a img {
border: 1px solid #b6ac32;
margin: 3px;
...in my html, but in some cases I would like to override it and remove any
border around a hyperlinked image. I've tried border="0" in the <img> tag
and several other variations, but the border still remains.
Is there a simple way to remove the border?
You can see what I'm talking about here:
http://www.simnet.is/gandalf/dagbok...kuritgerin.html
Cheers!
-Ziggy.
Try style="border: 0px"
--
Baz Jones
http://www.greatyarmouthlife.co.uk
"Ziggy" <gandalf@simnet.is> wrote in message
news:dhkhv1$11f$1@forums.macromedia.com...
> Okay, I've got this:
>
> .mainarea a img {
> border: 1px solid #b6ac32;
> margin: 3px;
>
> ...in my html, but in some cases I would like to override it and remove
> any border around a hyperlinked image. I've tried border="0" in the <img>
> tag and several other variations, but the border still remains.
>
> Is there a simple way to remove the border?
>
> You can see what I'm talking about here:
> http://www.simnet.is/gandalf/dagbok...kuritgerin.html
>
> Cheers!
> -Ziggy.
>
Ahh, cool man, it worked!
So, it's the 'style' that's overriding the CSS? Anyway, it worked, I'm
happy :-)
Thanks a lot!
-Ziggy.
"Baz Jones" <nospam@all.com> wrote in message
news:dhkiao$1gl$1@forums.macromedia.com...
>
> Try style="border: 0px"
> --
> Baz Jones
> http://www.greatyarmouthlife.co.uk
> "Ziggy" <gandalf@simnet.is> wrote in message
> news:dhkhv1$11f$1@forums.macromedia.com...
>
>
Yes you can only over ride a style with another style as far as I know.
Pleased to be of help :-}
--
Baz Jones
http://www.greatyarmouthlife.co.uk
"Ziggy" <gandalf@simnet.is> wrote in message
news:dhkiid$1n1$1@forums.macromedia.com...
> Ahh, cool man, it worked!
> So, it's the 'style' that's overriding the CSS? Anyway, it worked, I'm
> happy :-)
>
> Thanks a lot!
>
> -Ziggy.
>
>
> "Baz Jones" <nospam@all.com> wrote in message
> news:dhkiao$1gl$1@forums.macromedia.com...
>
>
Yes, but there are styles "none" and "hidden", so you should be able to use:
border-style: none
or
border-style: hidden
HTH,
Randy
> Yes you can only over ride a style with another style as far as I know.