I know this sounds ridiculous, but my css sheet is being crazy stubborn and will not center my website. I have tried virtually everything, (body text-align center, auto margins, wrapper auto margins, wrapper text-align-center.. etc) it just will not do it. It isn't an issue of I don't know how, I have another website that I use more to practice designs than anything (never really materialized the site). Can anyone take a look at my css stylesheet and tell me what is going on? (the sheet is kind of a mess).
http://www.sftlolz.com<--- the site I want centered
http://www.sftlolz.com/boog.css<---- The stylesheet
http://www.trabajoking.com<--- The site I have had centered with 0 problems.
Thank you to anyone that has any input.
FYI the main wrapper is #wrap.
Web page will not center.
Moderator: General Moderators
Re: Web page will not center.
I see it centered in FF 3.6.13 and IE 8
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Re: Web page will not center.
The entries appear properly centered in IE, FF, Chrome, Safari, and Opera, but in IE the right column (login and ads) doesn't appear at all and there's a strange "object required" error message that quotes a line that I can't even find in your source code. You probably know this, but you are using some CSS3 (border-radius, etc.), which IE doesn't support. But I don't see anything wrong with your centering.
-
thecodewall
- Forum Commoner
- Posts: 33
- Joined: Sun Dec 26, 2010 8:37 am
Re: Web page will not center.
I think you must specify css on every browsers. Maybe this can help.
try this post. http://codewall.blogspot.com/2010/12/sp ... wsers.html
try this post. http://codewall.blogspot.com/2010/12/sp ... wsers.html
Last edited by thecodewall on Wed Jan 05, 2011 12:38 am, edited 2 times in total.
Re: Web page will not center.
That's usually not necessary if you use the browser-specific prefixes, such as moz- and webkit- and if you are aware of the effect of the sequence of multiple commands. See http://www.webcredible.co.uk/user-frien ... tion.shtml