POST use FrontPage 2000 and also am needing help attempting to center my web page from left to right to ensure when viewed around 1024 x 728 it truly is centered and as soon as viewed in SIX HUNDRED x 800 it truly is centered and derives passion for the entire article. MSN. com is setup with this. Any help is greatly appreciated, some other advice would also be appreciated. Our website is world wide web. fireprints. com Thanks ahead!
can really have a good look at your code but when you add in your container around most you stuff along with set the border = 0 auto, that might perform.
add this to the css
#container margin: 0 auto;
and next this to html page just below your < body>
< div id=" container" >
then close the div just before the < /body>
< /div>
like i reported can’t see your code then it might not work perectly: classic:
You have to add a width to the next containter… % or perhaps px
A wrap all my content in some sort of container div…
< body> < div class=" container" > Subject material < /div> < /body>
My CSS is…
. pot width: 800; margin-left: automotive; margin-right: auto;
This performs on all windows
You won’t need to put that… straightforward margin: 0 automotive; is enough
While, since the container is really a div, setting margins left and to certainly auto and using the default div prime and bottom of 0 means it works the identical.
Huh
Since divs have margins of 0 by default, setting just the actual left and right you to definitely auto’ is like setting minicodemargin: 0 automotive; /minicode.
Sure but… your saving few bytes by utilizing 1 line of code besides 2.
Kind of like saying
padding-left: 0
padding-right: 0
padding-bottom: 0
padding-top: 0
may be the same as
support: 0
yes but you’re better to place the 1 line rather than 4: glasses:
I wasn’t questioning your own methodology, just pointing out to people who might not know at a glance that it absolutely was the same thing, and the advantages of which it had been.