Support » Themes and Templates » Controlling text width inside a box

  • Resolved iyamdman


    Alright, let’s try this again.

    If you look at my test site, the test post in the main content area – ‘Home Posted on August 30th, 2011’ post – the text (post content) goes 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 the padding was added to the outside of the image creating a gap between the background image and the red boarder – and it made the content area bigger and screwed up the layout.

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Controlling text width inside a box’ is closed to new replies.