Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-08-01 15:45:46

cmscritic
Member
From: Edmonton, Alberta, Canada
Registered: 2009-07-09
Posts: 29
Website

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

#2 2009-08-01 16:09:58

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#3 2009-08-01 16:10:57

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Quick CSS question

I don’t see your problem. Which part of which menu is not aligned? In which version of IE ?

Offline

#4 2009-08-01 16:13:03

cmscritic
Member
From: Edmonton, Alberta, Canada
Registered: 2009-07-09
Posts: 29
Website

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

#5 2009-08-01 16:18:58

cmscritic
Member
From: Edmonton, Alberta, Canada
Registered: 2009-07-09
Posts: 29
Website

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

Board footer

Powered by FluxBB