Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: getting rid of the border around image links?  (Read 1234 times)

0 Members and 1 Guest are viewing this topic.
getting rid of the border around image links?
« on: August 09, 2006, 11:00:12 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
Just for example I put <a href ="blah.htm"><img src ="bleh.jpg">[/url]

When I view that, there will be a blue border around the image because of the anchor tag..how do I get rid of that? O_o
Logged



i love big weenies and i cannot lie
Re: getting rid of the border around image links...
« Reply #1 on: August 09, 2006, 11:09:30 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
In you css file or in the style tag just set the border property to 0.
Logged
Re: getting rid of the border around image links...
« Reply #2 on: August 09, 2006, 11:14:31 pm »
  • IBV
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1075
actually, I think it's the image making the border. Not sure though.

You could try to add attribute style="border-style: none". First try in the img-tag, then in the a-tag.

EDIT: Or what Helios said, if you use a css.
Logged
My signature is empty.
Re: getting rid of the border around image links...
« Reply #3 on: August 09, 2006, 11:21:19 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • Posts: 7002
it was the image lol.  I didn't realize that adding border ="0" to it would get rid of it.  Thanks for your help ^_^
Logged



i love big weenies and i cannot lie
Re: getting rid of the border around image links...
« Reply #4 on: August 09, 2006, 11:39:44 pm »
  • IBV
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1075
it was the image lol.  I didn't realize that adding border ="0" to it would get rid of it.  Thanks for your help ^_^

the border attribute is however deprecated and does not guarantee that it will look the same in all browsers. You should really use styles or css.

EDIT: fixed spelling mistake.
« Last Edit: August 09, 2006, 11:42:19 pm by Venus »
Logged
My signature is empty.
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.617 seconds with 48 queries.