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

[Solved] Linking Logo (Image Replacement)

  • # March 2, 2010 at 1:14 pm

    Is it possible to use image replacement over text, but still have said image be a link (say, to the home page)?

    # March 2, 2010 at 2:47 pm

    Most certainly! That’s how the majority of logos work on websites (usually found in the header).

    Just need to assign certain things to the anchor tag like display:block, and give it a width and height.

    # March 2, 2010 at 2:50 pm

    Could you point me to somewhere that offers an example?

    Here’s my page (revamped)

    # March 2, 2010 at 5:14 pm

    This reply has been reported for inappropriate content.

    Put this in your header:

    And this in your css:

    #header a { display: block; height: 100px; width: 750px; }
    # March 3, 2010 at 9:58 am

    Kick ass! Thank you so much!!!!!

    I’m going to get an A on this for sure!!!!!

Viewing 5 posts - 1 through 5 (of 5 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