Support » Themes and Templates » Text padding issue

  • Resolved iyamdman


    Text padding issue

    Site =

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • That link does not display any posts. I see this in the “Main Content Area”:

    Main Area

    Sorry, no posts matched your criteria.

    Looking at this another way, you said adding margin and padding adds to the content area making it bigger, and you want 10px of padding on each side of your content area. Why not set the width to 737 and add 10px of padding on each side to get back to your original width of 757?

    Does that work?

    Sorry on the content, try this:

    If I do what you say, then there is a 10 px gap between the edge of the background image and the Red boarder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text padding issue’ is closed to new replies.