ivanmax Posted June 20, 2006 Share Posted June 20, 2006 Hi everybody, Would any of you be so kind as to tell me how I can make my site appear centered for every screen resolution? It doesn´t appear centered now: www.pedaldoc.com Also, I used layers to position the text and now it sometimes overlaps other text or pictures when the site is viewed using FIREFOX for instance. How I could position the text where it is without using layers? They are really giving me a headache. I would really welcome any help. Thanks a lot in advance. Iván. Quote Link to comment Share on other sites More sharing options...
hooksie Posted June 21, 2006 Share Posted June 21, 2006 (edited) have html,body {text-align:center} (add the rest of any css code you have in to that) then, suround your entire website with a div, give that div an id #globalcontent then create a new id in your css, #globalcontent, and give it #globalcontent { width: ;//width here margin-left:auto; margin-right:auto; } voila, that should work Edited June 21, 2006 by hooksie Quote Link to comment Share on other sites More sharing options...
ivanmax Posted June 22, 2006 Author Share Posted June 22, 2006 Thanks a lot, I will try that. Iván Quote Link to comment Share on other sites More sharing options...
makaveli Posted June 22, 2006 Share Posted June 22, 2006 id like to say thanks to! this is a problem that i have had loads! it was so annoying a picture never was where i had it in dreamweaver, i hit F12 and it was out.. thanks for the code snippet Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.