Forum Moderators: mack

Message Too Old, No Replies

Centering Pages

Centering pages for viewing

         

cr1998

3:46 pm on May 12, 2006 (gmt 0)



This is my first try at creating a website. I am using FrontPage 2002 for creating web pages on a laptop. When the pages are viewed on the laptop, everthing is centered. However, when viewing them on a desktop monitor, everything appears off-center. What do I need to do to have the pages automatically centered no matter what type of monitor or browser they are being viewed on?

Thanks,

CR

TechnoGeek

11:33 pm on May 13, 2006 (gmt 0)

10+ Year Member



Hi,cr1998.
Just a suggestion: are you using the same screen resolution in your laptop computer and your desktop computer? Depending on how you code the page, appearance may vary with different screen resolutions (the number of pixels in the vertical and the horizontal dimensions).

tedster

1:52 am on May 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is already a lot of information around WebmasterWorld on this topic -- you can research it via the site search (see link in small text toward the top of the page.)

The issues you may be facing are several. First, you are using Dreamweaver, a WYSIWYG editor. Do you also have some grasp of html and css? This kind of knowledge will open up worlds of possibility for you. If you only design in a wysiwyg editor so that a page "looks right" opn your system, you can easily run into the kind of troubles that you describe.

Pages can be centered (truly centered for any screen resolution and browser) using several different approaches. There are variations for designs created with a table layout, and designs created with divs -- pure css positioning.

One thread that might get you started is this discussion with someone who was also using Dreamweaver, so it may have special meaning for you:

how to center an already build site? [webmasterworld.com]