The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Anchor Link behaving funny

  • # May 1, 2009 at 6:30 am

    Dear CSSers,

    My anchor link is acting funny in Firefox. When I click on it, it gives me a frame-like thing around the div. I have to click it again to make sure it goes to the anchor name. It works fine on Safari though. Please look at attached image to have an idea what I mean:

    [attachment=0]Picture 2.png[/attachment]

    Here’s the link:

    I can’t figure out what’s happening. I suspect it’s something to do with the div or floats.

    Any tips and advice greatly appreciated!

    Thank you.

    # May 1, 2009 at 6:37 am

    Change this

    .sections {
    border-bottom:1px solid #336699;
    padding:20px 0 0;

    to this

    .sections {
    border-bottom:1px solid #336699;
    padding:20px 0 0;
    # May 1, 2009 at 6:42 am

    That solves it!

    Thank you very much Apostrophe!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed