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
  • #33643

    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:

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


    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.


    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.