This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > September 2005 > Override CSS Image Border Parameter
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Override CSS Image Border Parameter
|
|
| Ziggy 2005-09-30, 10:16 pm |
| 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.
| |
| Baz Jones 2005-09-30, 10:16 pm |
|
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.
>
| |
| Ziggy 2005-09-30, 10:16 pm |
| 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...
>
>
| |
| Baz Jones 2005-09-30, 10:16 pm |
| 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...
>
>
| |
| Randy Edmunds 2005-09-30, 10:16 pm |
| 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.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|