Facebook Layout
-
Hi, I've been trying to create a layout that is essentially like facebook, the two main features of it being: 1- Centred, constant width website body 2 - Content height seems to be set to 100% as the toolbar always sticks to the bottom of the browser. I have managed to get a containing div to centre horizontally using a relatively positioned div with left/right margins set to auto, but doing this relatively stops me from being able to set the height of the div to 100%. So to summarise I want the main body of my site to be a constant width (probably 1024px), be centred horizontally, and be 100% in height. Does anyone know how to achieve this as I can't seem to get the horizontal centering and 100% height working together. Thanks Andy
-
Hi, I've been trying to create a layout that is essentially like facebook, the two main features of it being: 1- Centred, constant width website body 2 - Content height seems to be set to 100% as the toolbar always sticks to the bottom of the browser. I have managed to get a containing div to centre horizontally using a relatively positioned div with left/right margins set to auto, but doing this relatively stops me from being able to set the height of the div to 100%. So to summarise I want the main body of my site to be a constant width (probably 1024px), be centred horizontally, and be 100% in height. Does anyone know how to achieve this as I can't seem to get the horizontal centering and 100% height working together. Thanks Andy
:zzz: :omg: :mad::cool::~hello friend ...... .......You have to work with the css and you will be able to do this ..For that you have to create the css file for your application and then you can define the static margin or the value which you want in your application.......... ...........Now it's your resposibility to do this search in site if you are not knowing the css ......... Your friend rahul :wtf: :omg: