ivanmax Posted June 20, 2006 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
hooksie Posted June 21, 2006 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
makaveli Posted June 22, 2006 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
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.