No replies
Lesh's picture
Last seen: 12 years 25 weeks ago
Timezone: GMT+13
Joined: 2009-12-28
Posts: 6
Points: 13

Hi, I am designing the layout of my website in Illustrator before I begin to write it up in Dreamweaver. I am wondering how to style it so that whatever the browser size, the website will take up the height of the browser. I also want to centre my buttons horizontally in a div so they have the same space above and below them.

I have tried using 100% height in both the body and a container div and then assigning lesser percentages to the other divs. This did not work for me.

I have attached a diagram below to better explain what I want to do.

CSSQuestion.pdf950.07 KB