October 8th, 2008, 10:49 AM | #1 |
Major Player
Join Date: Jan 2004
Location: Los Angeles, CA
Posts: 254
|
Help:Web page not centered in display.
When trying to create a simple web page in Front Page, it displays off center (to the left side of the screen).
How can I make sure it displays centered or stretches to fill the screen on higher rez monitors? I'm choosing "absolute" when formatting the position of various items on the page. I would sure appreciate any help on this. TIA, Ken |
October 19th, 2008, 08:55 PM | #2 |
Major Player
Join Date: Jun 2005
Location: Bend, Oregon
Posts: 206
|
I'm not exactly sure how your page is setup, but usually to center a page you use margins in CSS.
I would have to take a look at your source code, but your usually add the following CSS code to your container or wrapper element. margin: 0 auto;
__________________
http://wildlookout.com |
October 20th, 2008, 09:41 AM | #3 |
Major Player
Join Date: Jan 2004
Location: Los Angeles, CA
Posts: 254
|
Thanks Wes,
I used regular html in Front Page. It shows ok on my 1024x768 monitor, but when viewed on a higher res display, appears shifted to the left side. I'll try converting it to a css format in Coffee Cup and then add the tag you suggested. Thanks again for your help. Ken |
October 20th, 2008, 02:35 PM | #4 |
Major Player
Join Date: Jun 2005
Location: Bend, Oregon
Posts: 206
|
well, you can always add the css in an inline format.
So lets just say our outermost div or table is named container. You would put something like this. <div id="container" style="margin:0 auto"> Everthing else in my webpage </div> <--end of webpage
__________________
http://wildlookout.com |
| ||||||
|
|