css question

  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2136
  • Loc: Louisville, Ky

Post 3+ Months Ago

I know that

Code: [ Select ]
.navbar a:link,
.navbar a:visited
    { text-decoration: none; }
  1. .navbar a:link,
  2. .navbar a:visited
  3.     { text-decoration: none; }


will give me a div class that will take out the underline for a link....

What do I do to get rid of the box around an image that is a link?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Code: [ Select ]
img {border : 0px};

should do it.
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2136
  • Loc: Louisville, Ky

Post 3+ Months Ago

nice, thanx!
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

or just can do with straight HTML parameters in the IMG tag...

Code: [ Select ]
<a href="whatever.php"><img src="whatever.jpg" border="0"></a>
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

css==better ;)

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.