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 |
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; |
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 |
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 |
All times are GMT -6. The time now is 09:12 AM. |
DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network