ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Column Layout Troubles

December 18, 2007 6:54am

Subscribe [4]
  • #16 / Dec 20, 2007 10:35pm

    Tom M

    8 posts

    Thanks Stephen,

    Some pointers on which route to take would be appreciated as I’m at abit of a loss.

    Its back up again.

    Tom

  • #17 / Dec 21, 2007 11:00pm

    Deron Sizemore

    1033 posts

    None taken—just my personal style. I hate having to screw with tags, especially when I need to add a block element that needs padding (since blocks arent supposed to be inside inline tags)

    Hey RocketMedia.  tags are actually block level elements, so that’s the reason stephenslater pointed out that with the code you supplied, it was unnecessary to use the extra <div> in your code.

    Here’s how you could do it:

    <div id="outerdiv">
            Content Here
    </div>
    #outerdiv {
    background: #yourcolor;
    }
    
    #outerdiv p {
    padding: 15px;
    }
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases