[Centering problem] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



Centering problem

(Click here to view the original thread with full colors/images)



Posted by: shade11

Recently I decided to design a website for my friend. Now I made this nice little website with a decent template but there is one problem.

You see, it doesn't center correctly on Internet Explorer 7, it centers correctly on Firefox and Opera however. I looked through the source but I found nothing that could lead to this hassle.

Please post a solution if you can,
Here is the website: [url]http://www.wow.mmo3d.com[/url]



Posted by: iamchel

well thats not the best way to center the page...put it in a container then just center it.

[code]
#containername {
text-align: center;
margin: auto;
}
[/code]



Posted by: CrazeD

If you do what "iamchel" said, you have to define what you want to access that part of the CSS with the div tags.

Example:

[code]<div id="containername"> YOUR CENTERED CONTENT </div> [/code]



Posted by: shade11

Well thanks for the help but I got the problem resolved. I am just a really, really messy html coder.





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon