I have an attribute that is a 7 row text box 50 characters wide. Is there a way to force it to wrap to a different line after 50 characters?
example
Thanks!
I have an attribute that is a 7 row text box 50 characters wide. Is there a way to force it to wrap to a different line after 50 characters?
example
Thanks!
It already does in FireFox ... it does not in IE ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
That's interesting because I'm using Firefox and the box is contained (I can see all 4 sides) in FF but the text stays on one line. But in IE the box runs into and behind the right column yet the text wraps as it should.
Really weird stuff.
You probably need to force your textbox widths to be somewhat narrower, using the stylesheet. It appears to be bleeding into the right column, and thus part of the content is getting hidden ...
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Like Linda I see the text wrapping as it approaches 50 characters in Firefox. The exception being when you have a single word longer than 50 characters when it doesn't want to break it.
Internet Explorer is more of a concern since, as Dr Byte has observed, the box is much wider and disappears behind the right hand column. This can be solved by removing the width setting from the textfield styleUnfortunately you'll only get a 48 character wide box as, unlike FF, IE doesn't make any allowance for the scroll bar, but I'm afraid that only Bill Gates can fix that one.TEXTAREA {
float: left;}
margin: auto;
display: block;
width: 95%;
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Originally Posted by kuroi
Ah yes...the style. I was workign in it all night bit it never hit me to look there. Thanks a million!
Bookmarks