That's not going to work in IE though. I didn't think it would, so I 
tried it to be sure.

<select style="width:75px;">
<option>test</option>
<option>ffffffffffffffffffffffff fffffffffffffffffffffff</option>
<option>sssssss 
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss</option>
</select>

works in Firefox like you say, but in IE the options list is still only 
75 px wide when you pull it down.

--Ferg


Scott Stroz wrote:
> you can use style="width:200px" in teh <select>, and in the form it will
> only be 200Px wide, however, when you try to select someting, the list will
> expand but not 'break' teh page.
>
> On 2/23/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
>   
>> No - not without a lot of work that they won't pay for.
>>
>> It's a shopping cart app that literally sells everything - from Lamps to
>> Faucets to heaters to, well, the kitchen sink.
>>
>> There really are no "groups" that the product add-ons would fit into.
>>
>> I'm looking into Jerry's suggestion of breaking things into two lines,
>> then "massaging" the js to make it look like they are selecting "one"
>> addon, when they are actually selecting two.
>>
>> On another note, you've narrowed my lunch choice down to a Mushroom
>> Cheese Steak Sub.  Thanks!  :)
>>
>> Adkins, Randy wrote:
>>     
>>> Can you GROUP the items?
>>> FRUIT:
>>> -- Apples
>>> -- Oranges
>>> MEAT:
>>> -- ground Beef
>>> -- Steak
>>>
>>> ...etc
>>>
>>>
>>> -----Original Message-----
>>> From: Jerry Johnson [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, February 23, 2006 11:07 AM
>>> To: CF-Talk
>>> Subject: Re: add a break inside a select list?
>>>
>>> Then just three ideas:
>>> A flash form.
>>> Highlight multiple lines through javascript. When you are writing out
>>> the select options, add a function to highlight attached rows.
>>> Write your own dhtml dropdown list that behaves however you want.
>>>
>>> On 2/23/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
>>>       
>>>> Thanks Jerry.  I actually tried that, but the client isn't liking it
>>>> so much.  They think it is confusing.
>>>>
>>>>
>>>>
>>>> Jerry Johnson wrote:
>>>>         
>>>>> I break the long string into multiple lines, add 2 spaces before all
>>>>>           
>>>>> but the first line, and set the value for each to the same value.
>>>>>
>>>>> This does not highlight all the lines when moused over, but my users
>>>>>           
>>>>> haven't complained yet.
>>>>>
>>>>> On 2/23/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
>>>>>           
>>>>>> I swear this was answered before - but I can't find it anywhere.
>>>>>>
>>>>>> Is there a way to make an option in a select list break into two or
>>>>>>             
>>>>>> more lines?  In other words, my drop-down list is dynamically
>>>>>> built, and it is becoming silly-long, throwing off my page width.
>>>>>> Is there a way for me to break it out to two lines?  Like using
>>>>>>             
>>> <br> or \n or whatever?
>>>       
>>>
>>>
>>>       
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233251
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to