Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problems aligning text with image

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33643
    tobeeornot
    Member

    Hi, I am trying to push the text down in the main content container so it aligns neatly beside the image. I know I could incorporate the cup and tin image into the background and do it from there but I want to do it using css. Any suggestions?

    Here is the link: http://jsfiddle.net/tobeeornot/fgHga/

    I have tried pushing the text down using top-padding from the H2 but the text gets distorted.

    #83978
    wolfcry911
    Participant

    I’d give the h2 a top margin of 50px (as steven mentions), but also give the div containing the image a negative top margin of about 75px.

    #84009
    tobeeornot
    Member

    Many thanks Steven and Wolfcry – I just got in and will be trying your solutions in the morning. A real newbie here so your help is really appreciated.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.