heading centered in IE (not FF, chrome, etc.)

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/14/2009 11:14:13 PM
Gravatar
Total Posts 6

heading centered in IE (not FF, chrome, etc.)

Hi All,

This should no doubt be an easy one (but it still has me stumped).

In Firefox, the headings (<h2> tag) for my content are left-aligned. In IE, they are centre-aligned (or have enormous left margins).

http://www.forestonline.com.au/other/ffheading.gif

http://www.forestonline.com.au/other/ieheading.gif

Any ideas where to start looking?

 

Many Thanks,

Leadeye

 

12/15/2009 6:04:37 AM
Gravatar
Total Posts 18439

Re: heading centered in IE (not FF, chrome, etc.)

Hi,

First, you should always design using Firefox because it is the most standards compliant, then if find problems in IE rendering you can use the IESpecific.css file for IE 6 or IE7Specific.css for IE 7, and it is also possible to create an IE8Specific.css, put it in your skin folder and then in layout.master add IncludeIE8="true" on the IEStyleIncludes control in layout.master

These IE specific css files can override anything you need to make it look right in IE.

Never design first in IE or it becomes much harder to solve problems.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.