Jump to content


Link properties


4 replies to this topic

#1 MadHatter

    Young Padawan

  • Members
  • Pip
  • 17 posts

Posted 19 October 2006 - 08:07 PM

Hey guys-

I'm having a problem. All of my links (text links as well as images) have a weird effect. When text becomes linked, it turns blue and becomes underlined. When an image becomes linked, it gets a border that messes up my tables.

Basically I'm wondering what I need to type in to get rid of that underline and the border on the image.

Thanks!

#2 N-sane Noob

    Noob Leader

  • Publishing Betazoids
  • PipPipPip
  • 873 posts
  • Gender:Male
  • Location:Canada
  • Interests:Taking over stuff

Posted 19 October 2006 - 08:19 PM

What are you using to do this..? DREAMWEAVER or are you just putting the code in?

Edited by N-sane Noob, 19 October 2006 - 08:37 PM.


#3 MadHatter

    Young Padawan

  • Members
  • Pip
  • 17 posts

Posted 19 October 2006 - 08:39 PM

I'm using an old version of FrontPage although I mostly edit in Notepad.

#4 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 20 October 2006 - 09:00 AM

To fix the images with the blue border around them, make sure border="0" for the images you have linked. If you'd like to change the color of your links on your page you can do that with some CSS:

a:link {

set whatever you want here

}

a:hover {

set whatever you want here

}


#5 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 20 October 2006 - 12:43 PM

View PostN-sane Noob, on Oct 19 2006, 07:19 PM, said:

What are you using to do this..? DREAMWEAVER or are you just putting the code in?
What he is using doesn't matter, that effect will happen regardless of what you're using to code unless you tell a browser to do otherwise.

View PostJacorre, on Oct 20 2006, 08:00 AM, said:

To fix the images with the blue border around them, make sure border="0" for the images you have linked. If you'd like to change the color of your links on your page you can do that with some CSS:

a:link {

set whatever you want here

}

a:hover {

set whatever you want here

}
More specifically:
a { text-decoration:none; } /* Removes underline on all links. */
a img { border:0; } /* Removes border from linked images only */






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users