Text padding or margin problem – need solution

  • Author
  • #693122


    I am working on a proto site – learning how do to templates:

    Site = http://globalbusinessconnections.com/wpsitegbc/

    If you look at the site, the test posts in the main content area – especially the ‘Another Post with Everything In It’ post – the text and images go all the way to the left or right red boarder.

    Below is the code from the style.css:

    #content {
    width: 757;
    height: 523;
    border-top: 2px #FF0033 solid;
    background: url("images/content-lt-blue-background-1-j.jpg") no-repeat center top transparent;
    float: right;

    I tried addling padding and margin, but they added it to the outside of the image, which made the content area bigger and screwed up the layout.

    How can I make it the post’s “text” and “photos” stay within (less than) 10px of each wall/boarder of the content area?



    Hi. It looks like you have a self-hosted WordPress blog and are in the wrong forum. Please ask your question at http://wordpress.org/support

    You are currently in a forum for blogs hosted by WordPress.com and our answers will not necessarily apply to your situation (as some themes are not available in WordPress.com and even themes available here are different). Thanks and I hope you find a solution to your problem soon.

The topic ‘Text padding or margin problem – need solution’ is closed to new replies.