Get a free trial // Grow your CSS skills // Land your dream job

Quick Question

  • med
    # April 20, 2008 at 6:00 pm


    I’m trying to get my image to line up with the text on this page:

    However the top of the image does not line up with the top of the text, if you see what I mean.

    Does anyone know how I can get the two to line up? I’m not using any css to display the image. Instead here is the html:


    If I need to use css then that will be fine too.


    # April 20, 2008 at 6:19 pm

    You now had the image in a seperate paragraph and your text in a seperate paragraph. Put them both in the same paragraph and you’re done :)

    # April 20, 2008 at 6:53 pm

    Thank you, that worked perfectly :)

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