Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Quick CSS question
I’ll admit I’m not familiar with how to format things so that IE (god forbid anyone still uses it) formats things properly.. My menu on That Critic Guy is not lining up properly in IE.. in firefox it looks perfect.. could someone point me to a way to fix this? I’d appreciate it.
Thanks!
Mike
Offline
Re: Quick CSS question
Run a conditional css at the top of your page and feed it an adjunct style to fix for the redmond retards, like so…
<!-- Fix for the Redmond Retards -->
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" media="screen" href="http://forgeron.textdriven.com/css/ie.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="http://forgeron.textdriven.com/css.php?n=IE7" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="http://forgeron.textdriven.com/css.php?n=IE8" /><![endif]-->
Then create additional styles called IE, IE7, IE8 which contain css geared at fixing the problems.
Here’s a good source for common IE issues or you could use your trusty crusty old friend google
Offline
Re: Quick CSS question
I don’t see your problem. Which part of which menu is not aligned? In which version of IE ?
Offline
Re: Quick CSS question
IE7.. the menu is not centering.. within the navigation bar.. I mean vertically centering.
MrDale.. I have an IE stylesheet assigned with what I thought were all of the fixes, but I can’t seem to figure out how to fix this one.
Last edited by cmscritic (2009-08-01 16:13:32)
Offline
Re: Quick CSS question
Looks like I managed to fix it by adding a div and adjusting the margin.. thanks anyways guys!
Offline
#6 2009-08-11 15:33:57
- zeusdidit
- Member
- Registered: 2007-10-16
- Posts: 111
Re: Quick CSS question
<div style=“margin:0 auto;text-align:center;”><!— the auto is the part that fixes the centering issue in IE 7 and below —>
<div>this should be centered in IE</div>
</div>
And only developers use firefox, mostly everyone uses IE.
http://blog.zeusdidit.com/web-design/top-10-browsers-report-july-2009
Sorry but keep fixing for IE. Once IE 8 becomes more adopted you’ll have a much better transition with development since it’s complete standards oriented and, well, will essentially render everything exactly like Firefox. :) I’ve already tested it on Windows 7 and it’s fast.
Offline
Pages: 1