Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Override CSS Image Border Parameter
 

Ziggy




quote this post edit post

IP Loged report this post

Old Post  10-01-05 - 03:16 AM  
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.




Post Follow-Up to this message ]
Re: Override CSS Image Border Parameter
 

Baz Jones




quote this post edit post

IP Loged report this post

Old Post  10-01-05 - 03:16 AM  
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.
>




Post Follow-Up to this message ]
Re: Override CSS Image Border Parameter
 

Ziggy




quote this post edit post

IP Loged report this post

Old Post  10-01-05 - 03:16 AM  
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... 
>
>




Post Follow-Up to this message ]
Re: Override CSS Image Border Parameter
 

Baz Jones




quote this post edit post

IP Loged report this post

Old Post  10-01-05 - 03:16 AM  
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... 
>
>




Post Follow-Up to this message ]
Re: Override CSS Image Border Parameter
 

Randy Edmunds




quote this post edit post

IP Loged report this post

Old Post  10-01-05 - 03:16 AM  
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.



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 11:05 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top