SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2004
    Location
    Naples, FL
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hyperlink Styling

    Hello Everyone and thanks for your help in advance. I am attempting to style hyperlinks in a fashion where they have a box around the entire link. I ahve placed the test page at:

    http://www.askdrdiana.com/pagetest.htm

    I cannot seem to get the lower border to display correctly. Any help would be greatly appreciated.

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You didn't mention that this only happens in IE (you DO test in more compliant browsers, don't you ? ), and is due to IE hiding things outside its line box. Adding position:relative to the links will bring the hidden parts back.

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2004
    Location
    Naples, FL
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help. Works like a charm, but not sure why. And yes, I do check in other browsers, but forgot to mention it.

    Thanks again.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •