Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Text attribute box is too long in IE

Text attribute box is too long in IE

Locked

Views: 2,402

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
29 Mar 2009, 1:33 AM
#1
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Text attribute box is too long in IE

Bonjour, all.

I have one text attribute properly set up and the only issue is that, in IE, the width of the box goes to the edge of the page while it looks much nicer in FF being considerably narrower.

In Option Names, the Display Size is 32. I played around with it but nothing changed (as well as max input, which is 150), read some posts and don't know what else to try to make it as in FF. Any ideas, please?

ZC 1.38a. a l e x a n d e r g i f t s . c a Click on one of the Featured Items on the homepage to see the issue.

Cheers,

Robbie

12 May 2009, 10:37 PM
#2
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Text attribute box is too long in IE

I got a new computer and, in IE 8, the box is smaller like the others. So I guess that was an issue with the old IE.

21 May 2009, 11:59 PM
#3
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Text attribute box is too long in IE

Or not! The issue suddenly and somehow returned to IE8. I know I wasn't dreaming before because I check certain changes to the site in all browsers and noticed the box was smaller in IE8...till now. I don't know if it's something in the code for that page (tpl_products_info_display.php) or something I did in IE settings (don't recall doing anything special).

Stupid IE...

22 May 2009, 7:49 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Text attribute box is too long in IE

I cannot figure out your domain name ... :blush:

23 May 2009, 12:18 AM
#5
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Text attribute box is too long in IE

My Firefox and IE8 show your text box OK, while IE7 is stretching it to the right hand side...

It appears that the textarea in IE7 is preferring the CSS width setting of 95% that you have in your stylesheet, over the cols=32 setting you have in html...

textarea.attribsTextarea {width:auto;}

as a last resort you could give the above width statement a pixel value...(300px) to see if that works...

for some reason, you site seams to freeze my IE developers toolbar.... so I cannot give a better answer at the moment...

26 May 2009, 12:48 PM
#6
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Text attribute box is too long in IE

Even weirder, I checked IE8 today for the first time since my last post and the text box was again normal size.

I changed the stylesheet to px (didn't even know to look there) and I'm sure that'll make it consistent...at least until next week!

Thanks!

R

alexandergifts.ca

13 Jul 2009, 10:59 AM
#7
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Text attribute box is too long in IE

I have the same problem. Please take a look at my site here using IE6. I cant figure out how to make it looks normal like in Firefox.

Rows: 2
Size: 32
Max Length: 150

14 Jul 2009, 4:29 AM
#8
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Text attribute box is too long in IE

Ok, I just got it fixed by changing its width from 240px to 22em.

#productAttributes {
float:left;
padding:1em 0em 0 0;
[B]width:22em;[/B]
}
```But now I need to get the 'add to cart' button align right next to the text input (in IE6).

Can someone help me on this?

Thanks.