English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Many websites (such as Yahoo! Answers) have all the content in the middle so that it looks the same whether you are viewing it on a wide screen or narrow screen: the sides expand or collapse depending on the screen size. How can I do this on my website?

2007-10-11 18:54:54 · 3 answers · asked by drshorty 7 in Computers & Internet Programming & Design

Thank you for the information you've given so far. I'm certainly not afraid of css... any help would be appreciated.

2007-10-13 19:12:05 · update #1

3 answers

you need to learn css dude..

anyway, here's the link to your answer..

http://www.dmxzone.com/forum/topic.asp?topic_id=33695

2007-10-11 19:06:50 · answer #1 · answered by Anonymous · 0 0

Yes they are using what is called a "Jello layout" What they do is place all their content inside a div. The div is given a width and maybe a height not always tho; the margins on the div are then set to auto so that it will always be centered. A background color/image is give to the body and a different background color/image is given to the div. One thing about Jello layouts is that everything outside the main div becomes smaller when you shrink the window but the div its self always remains the same.

If you wish to make a Jello layout you will need to have basic knowledge of divs and css.

2007-10-12 09:02:49 · answer #2 · answered by Anonymous · 0 0



<br /> Test Page<br />




Vertically Centered Content Here.




Good luck on the web design. =) Feel free to email me if you have any other questions.

2007-10-11 18:59:42 · answer #3 · answered by Craig Y 2 · 0 0

fedest.com, questions and answers