Jump to content
Sign in to follow this  
Dave Stewart

margin on content but not background

Recommended Posts

Hi everyone, I'm a bit stuck on this so anyone any ideas? I am putting a page together with a table at the top, with a background image, then some text underneath it. I've set a margin on the left to keep the text away from the edge but the background image on the table above also uses it. How do I stop that hppening? Screen shot of the problem attached.Thanks.

post-176413-0-36291300-1412590253_thumb.gif

Share this post


Link to post
Share on other sites

You can put margin on the element that's immediately wrapped around the text or you can use padding instead.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...