Treehouse: Grow your CSS skills. Land your dream job.

Image Align not working with h2 code?

  • Anonymous
    # May 20, 2011 at 12:36 am

    Basically, one of the pages on my website is for video shots I have made. I would like the title of the video to be in but that seems to throw off aligning the image to the left of the text.

    How I want the image/text to align:

    How it looks when I add the h2 tag:

    There must be a simple solution to this but I have yet to think it up. Help?

    # May 20, 2011 at 5:05 am

    I’m a little confused?

    The difference between the two pages for me is the text is pushed down in video2. If that is the problem, your solution is doing a little tidying…

    Swimming Lessons

    Swimming Lessons (2010)

    This video short is about a man trying to say goodbye to his past. Based on the screenplay by David Oliver. This is the last dramatic project I made as part of my BFA.

    # May 20, 2011 at 6:25 am

    It seems including the image in the code solves the issue.

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

You must be logged in to reply to this topic.