Forums / Templates, Stylesheets, Page Layout / attributes not displaying correct in IE

attributes not displaying correct in IE

Locked

Views: 1,814

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Feb 2007, 9:10 AM
#1
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

attributes not displaying correct in IE

Hi All

I'm having problems with my attributes displaying correctly in IE,
In Firefox all is ok they align across the page without any problems, but they just want to hug the left hand side of the page in IE.
As the product i am selling has loads of options the need to align across the page or my customers will be scrolling forever,

This is what i have done so far

In tpl_modules_attributes i removed the first 2 <br class="clearBoth" />

Then i added #productAttributes{
width: 850px;
Height: 100%
float: center
}
#productGeneral .centerColumn{
float: none;
}
to the end of
/wrappers - page or section containers/
in my CSS.

This solve this problem on a old site

Thanks for any help

Andy

https://www.niodonline.co.uk

23 Feb 2007, 9:59 PM
#2
crazy_chris avatar

crazy_chris

New Zenner

Join Date:
Feb 2007
Location:
Vienna
Posts:
38
Plugin Contributions:
0

Re: attributes not displaying correct in IE

hey there,

first of all, i do not completely understand what you mean, maybe you can explain it again...

also, there is no float-value like center. read more here: float @ w3schools.com
an element can float either left, right or none. it's important to understand how float works, so read the page at w3schools.com

to get a normal line-break after a floating element, it's better to use a "<div style='clear:both'></div>" instead of the "<br style='clear:both'>", because ie6 has problems with that one.

3 May 2007, 10:30 AM
#3
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: attributes not displaying correct in IE

Hi,
I am still having a major problem with this.
I have done all i can think of.
This is what i have done so far.
Deleted all "<br style='clear:both'>" in my attributes.php this made no difference so i restored the file, messed about with the float settings in my css file, i have also removed both "<br style='clear:both'>" from my tpl_modules_attributes.
I have changed the settings in option names and this has nearly sorted it but the attribute images over lap.
Any ideas
Thanks
Andy

http://www.niodonline.co.uk/index.php?main_page=product_info&cPath=1_2_6&products_id=3