473,503 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Select Box in IE

8 New Member
Need a select box that has long text to be rendered the same in IE as it does in FF.

Firefox Version of Select

IE Version of Select Box

The width property is set to 200px and this can not be changed just for IE. Need the IE to look EXACTLY like the FF. Have heard that javascript can do this, have tried almost everything with CSS.
Nov 6 '07 #1
9 1447
acoder
16,027 Recognized Expert Moderator MVP
Can you post your code?
Nov 7 '07 #2
ebremner
8 New Member
Can you post your code?
[HTML]<select name="request[{$smarty.section.requests_loop.index}][software_title]" id="software_title{$smarty.section.requests_loop.i ndex}" style="width: 200px">[/HTML]
Nov 9 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
Is it OK if the width changes when clicking the select box?
Nov 9 '07 #4
Fisher ma
9 New Member
I think it is impossible.
Nov 9 '07 #5
acoder
16,027 Recognized Expert Moderator MVP
No, he wants it the other way round. Firefox is fine, IE should appear like Firefox.
Nov 9 '07 #6
satas
82 New Member
I can give you one piece of advice.
You should place one empty option tag in your 'select'. In this option you may add about 20-25 &nbsp symbols and then disable it :
[HTML]<option disabled="true">[/HTML]
Nov 9 '07 #7
ebremner
8 New Member
Is it OK if the width changes when clicking the select box?
The width can not change as when it does, it disturbs the form. Have already tried that. Just want IE to look like FF and without a ton of JS.
Nov 12 '07 #8
acoder
16,027 Recognized Expert Moderator MVP
The width can not change as when it does, it disturbs the form. Have already tried that. Just want IE to look like FF and without a ton of JS.
Setting the OPTION element width only doesn't seem to work in IE, so I guess this is not possible.
Nov 12 '07 #9
drhowarddrfine
7,435 Recognized Expert Expert
Which doctype are you using?

EDIT: Never mind. I can verify 'width' does not work for <select> in IE.
Nov 12 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5232
by: JT | last post by:
I have an input form for which I've created a "matrix" for user input. Basically, the user chooses a radio button and then through javascript, a select box is displayed to define a value for that...
4
6922
by: Elroyskimms | last post by:
Using SQL 2000... tblCustomer: CustomerID int CompanyName varchar(20) HasRetailStores bit HasWholesaleStores bit HasOtherStores bit tblInvoiceMessages:
4
7379
by: bobsawyer | last post by:
I've been building a series of SELECT lists that are populated dynamically using HTTPRequest. Things are going pretty well, and I've got the whole thing working flawlessly in Mozilla/Firebird....
3
5707
by: dumbledad | last post by:
Hi All, I'm confused by how to replace a SELECT statement in a SQL statement with a specific value. The table I'm working on is a list of words (a column called "word") with an index int...
10
5585
by: serge | last post by:
Using "SELECT * " is a bad practice even when using a VIEW instead of a table? I have some stored procedures that are identical with the difference of one statement in the WHERE clause. If I...
1
2958
by: serena.delossantos | last post by:
Trying to insert into a history table. Some columns will come from parameters sent to the store procedure. Other columns will be filled with a separate select statement. I've tried storing the...
9
51969
chunk1978
by: chunk1978 | last post by:
hey everyone, i've been trying to solve this problem for 2 days straight, with no end in sight. i would greatly appreciate anyone's help. EXPLANATION: There are 3 Select Menus. The 1st and...
2
3912
by: naima.mans | last post by:
Hello, i want to select 2 following brothers nodes wich are one under another (one closed to another)... i have done one xslt file... but it's not really good.. for example: the xml file:...
4
4380
by: rn5a | last post by:
A Form has 2 select lists. The 1st one whose size is 5 (meaning 5 options are shown at any given time) allows multiple selection whereas the 2nd one allows only 1 option to be selected at a time. ...
6
3383
by: Apaxe | last post by:
In the database i have a table with this information: key_id =1 key_desc =43+34+22+12 I want sum the values in key_desc. Something like: SELECT key_desc FROM table But the result of...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.