Get a free trial // Grow your CSS skills // Land your dream job

Which layout method should be used ?

  • # December 10, 2008 at 3:34 am

    Which layout method should be used ?


    # December 10, 2008 at 5:04 am

    Both would work, it depends on your width’s and if your body has a background image – there are so many factors. I normally let the design dictate the layout… if you are going for a magazine style layout with more text than images then a grid style layout would be recomended.

    Have a look here for grid info :)

    Do you have a design yet?

    # December 10, 2008 at 6:00 am

    I’m asking about which is semantically correct?

    # December 10, 2008 at 9:17 am

    They are really identical, it totally depends on design. If you need a background for that middle area, you’ll need B. You’ll also need B if you are into the "easy-clearing" method of clearing floats (assuming the main content is floated). With A you would need to use a clearning DIV after the main content and sidebar.

    Neither is more semantic than the other.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed