centering website (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


zipperfool -> centering website (2/7/2006 11:50:34)

I'm an idiot. I have a website that when viewed on my desktop shows the website to be centered (although it is set by left margin indentation) but on my laptop there is a large white space on the right side. Is there anyway to have the website page expand to the right or just be centered in this case? Help;/
www.sirscan.com




Rocket Boy -> RE: centering website (2/8/2006 8:33:24)

You could enter this which should work....

In FrontPage's code view, immediately after where it says...


<body>



Enter this...


<div align="center">









coreybryant -> RE: centering website (2/8/2006 8:43:14)

And just in case, check out Centering (One more time) for another way as well using CSS.




Rocket Boy -> RE: centering website (2/8/2006 8:48:35)

Yes... that too.. I had to come back and post again...

I forgot to say, If you use the method I suggested then you will also need to add the end div tag


</div>



Immediately before...


</body>



At the foot of the page in code view [:)]






Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125