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

How to align a layer in the center of a page using dreamweaver ? Such as this yahoo page right here.

2007-01-24 05:26:15 · 3 answers · asked by Kushan T 1 in Computers & Internet Programming & Design

3 answers



Centered text

2007-01-24 06:28:37 · answer #1 · answered by Anonymous · 0 0

There are many good books available at the average public library on Dreamweaver. They would do a better job of answering questions like that than I ever could. My favorites are The Complete Idiot's Guides and The Dummies Guides although your local library may not have those for Dreamweaver.

2007-01-24 14:26:56 · answer #2 · answered by Denise T 5 · 0 1

Best option is to label a DIV with a unique ID or a class and apply the styling via CSS. Conventional wisdom suggests that you then just need to give the div a width and then set the margins to auto. I however allways take the extra step of setting the text alignment on the document body to center - otherwise the centered div generally doesn't work in older versions of IE.

sample code below.
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">














2007-01-24 15:20:15 · answer #3 · answered by Klausy 2 · 0 0

fedest.com, questions and answers