This is a discussion on "center page in high res" within the Introduce Yourself section. This forum, and the thread "center page in high res are both part of the Community category.
|
|
|
|
|
![]() |
||
center page in high res
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi there
Can anyone help please. I am very amatuer site builder and use Namo web editor rather that html (though I am trying to learn). This site is a charity for visually impaired and for the few who can read it, it is best in 800*600 res. When I view in a higher resolution it is over to the left. Has anyone got any ideas please how to put this to centre. I notice that sites like Wanadoo centre however viewed but I can't fathom thier code to find how. The site is www.homecall.uk.com Thank you for any suggestions. Colin |
|
|
|
|||
|
Re: center page in high res
Hi Colin,
Enclose the contents of the document body within two div tags - the first centres the second which has a set width eg. <body> <div style="text-align: center;"> <div style="width: 770px;"> ... content ... </div> </div> </body> Don't use 800px for the width as the browser uses some space. Play around with the width figure to get it right. I know this works for IE but not sure about other browsers. Mog |
|
|||
|
Re: center page in high res
Thank you Mog I will give it a try.Well done
Colin |
|
||||
|
Re: center page in high res
In addition to the above, I always use margin:auto on the OUTER container, which has a more reliable effect cross browser.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: center page in high res
Hi Rob
Thanks for your help but I am still at a loss.Namo, the program I am using puts so much bumf each end of the program that I'm not sure if it is switching off what I am putting in. I am useless with html, I thought I would try to learn it but I am at the stage that if it was a car I'd have found about the steering wheel and every week they update the engine. Cheers anyway. Colin ps. A friend who knows less about computers than me!! said that the page was centred on her computer but didn't even know which server she was using. Any chance you could take a look for me www.homecall.uk.com just to see if it is left sided on yours. Could this be a server problem? Thanks |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vertical alignment issues in IE6. IE7 Won't center my page! | Itsumishi | Web Page Design | 5 | Mar 24th, 2008 20:28 |
| High Slide? | byrd80 | JavaScript Forum | 2 | Mar 21st, 2008 20:02 |
| high every body, high doctor nick! | unitedcraig | Introduce Yourself | 8 | Oct 17th, 2007 20:35 |
| High Expectations! | Sgaspar11 | Flash & Multimedia Forum | 11 | Aug 3rd, 2007 17:11 |
| How to center a page without use of a table | pdk | Web Page Design | 23 | Jan 31st, 2007 11:28 |