Jump to content

3 column layout !


hassank1

Recommended Posts

I've checked some website that contain layouts !!

however why they are kind of complicated ? (am beginner btw)

for example for 3 column layout they use div inside a div inside a div ...

 

check : http://matthewjamestaylor.com/blog/perfect-3-column.htm

 

so why ?

 

and can't I simply for 3 cols layout . use 3 divs ( left then center then right ) then float and center them instead of using many divs inside each other ?!

Link to comment
Share on other sites

That is quite an amazing little bulletproof layout.

 

I couldn't break it in any browser, at any size browser text, and at 600px window.

 

There aren't that many divs here. They use the most minimum for liquid layout.

 

Header, footer, gutter, and 3 columns.

 

 

 

 

Link to comment
Share on other sites

It looks complicated because you are a beginner. It's actually not to complicated.

 

When you are building your site, just build the frame first, the way that guy shows in the tutorial, then add your content into the applicable sections after.

Link to comment
Share on other sites

layout, either fixed or liquid, is pretty easy like the the previous post stated. To learn it, just need to find a well explained tutorial, if you are having problems understanding the tutorial you specified, try this one http://css.maxdesign.com.au/index.htm, look for css selectors, and try the tutorial at the bottom, it's shows how to create a liquid 3 column layout, with header and footer.

Link to comment
Share on other sites

and can't I simply for 3 cols layout . use 3 divs ( left then center then right ) then float and center them instead of using many divs inside each other ?!

 

you can, float:left column, float:right column, then set center column's margin-left and margin-right to sit in the middle. Remember that you have to specify a width to an element that is using float.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.