Click here to Skip to main content
15,908,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to obtain the following layout for a webpage but I don't want to use tables. it consists of header (fixed div), content and footer. the content div should be aligned to the center and is 1000 pixels wide. each of the columns below should extend vertically

I want the layout to be like the one in this link http://i.stack.imgur.com/N2KeN.png

sorry but I am new to css and can't find any tutorials that can help me :( can you please give me the html/css code needed to obtain it? thanks in advance :)
Posted

 
Share this answer
 
v2
You can use DIVs for "table, rows, cells" and use "display:table, display:table-row, display:table-cell styles" accordingly.

Refer the following link
http://www.w3schools.com/cssref/pr_class_display.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900