If this is your first visit, check our documentation. To post, register or login.

Display of centerColumn in IE

Locked

Started by cjeb456 on 10 Feb 2009, 11:14 PM · Views: 599

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Feb 2009, 11:14 PM
#1
cjeb456 avatar

cjeb456

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Post #1 by cjeb456

Hi

Very annoying issue, but not sure where to start looking to rectify it, hoping someone knows an easy way to fix this!

The website in question is http://www.mydreamweddingdress.co.uk/index.php

(You need the index.php as it is not live yet so not the home page)

If you view the site in FireFox and click on the Category Wedding dresses you will see the page that displays the sub-categories - "In Stock" and "To Order"
See how these links fit in the black center column fine?

OK now view the site in Internet Explorer - the links are below the black background and show on the main grey background of the site.

This is the case for most of the pages, shopping cart and all.

Is there some code I could add to ensure that everything in the center column is always displayed with the black background?

Many thanks in advance

10 Feb 2009, 11:42 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #2 by kuroi

That's an IE hasLayout issue. Since you're using a fixed width template, adding the following to your stylesheet should cure it.> .centerColumn {width:410px}

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Feb 2009, 11:57 PM
#3
cjeb456 avatar

cjeb456

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Post #3 by cjeb456

Perfect, many thanks for your help.

Could I also ask about another difference in the 2 browsers to see if you also know a fix for this?

If you click Log In, then start filling in the fields to create a new account, in Firefox when you focus on a field I have it set in the stylesheet for the field background to turn Red
This focus colour does not appear in IE?

Thanks again, very much appreciated!

11 Feb 2009, 12:11 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #4 by kuroi

Internet Explorer doesn't support :focus.

You have two possible options:

  1. Add the styles with javascript
  2. try using :active as wellI'm pretty sure the first would work with jQuery. The second is something I've heard suggested as a workaround but not tried personally.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

11 Feb 2009, 12:20 AM
#5
cjeb456 avatar

cjeb456

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

Post #5 by cjeb456

Thanks again kuroi

A quick test of :active did not work so looks like its the javascript route for me.

Going back to the original question of the black background - if you view a product in a category, my issue is the the buttons at the bottom... add to cart, tell a friend etc do not have a black background, but I cannot see that these are loaded under a different class so not sure where to add a background to this. The fix for the rest of the black background worked perfect though on all pages so thank you.