PDA

Click to See Complete Forum and Search --> : Select boxes


turfbult
Jun 1st, 2001, 02:16 AM
Hello,

How do you determine the size of a select box for NETSCAPE!! I got this code, that works
great for IE, but not NETSCAPE.

<select name="D1" size="1" style="font-family: Century Gothic; font-size: 8pt; width: 72mm">

Any ideas??

Thanks,
T

monte96
Jun 1st, 2001, 12:15 PM
Use px not mm.

turfbult
Jun 1st, 2001, 01:16 PM
Hi Monte96,

Thanks for the reply!!

I tried px, but NS still doesn't take that into account. It works great for IE though.

My site relies heavily on dropdowns and now looks great on IE, but TERRIBLE(!!!) in NS because I cant get the dropdowns to be the same size. Maybe I should just put a "dummy" option, like spaces or "-----" to force the width.

Any ideas??

T

monte96
Jun 1st, 2001, 02:21 PM
Hmm.. ya know, I don't even have NS installed on any of the PCs I own or use for work.. I don't know of any company that has standardized on it either.

I'll check around and see if I can cough up an answer for ya..

monte96
Jun 1st, 2001, 03:01 PM
Ok.. I know what you are doing...

(I also just installed Netscape. What a piece of **** but that's another thread)

In your inline style, make sure you are using:

width: 72mm
and not
width=72mm

The later works fine in IE but not NS.

I cut and pasted your code into a small select example and it displayed fine in NS. (Granted, I have the latest version since I *just* downloaded it)

Now, I know that what you posted above *IS* using the correct syntax, but make sure the other 50 or so select tags are as well..

sail3005
Jun 1st, 2001, 06:58 PM
Yeah, as far as i know, the code that you are using will not work in NS4, (i have had this problem before too) but it will definatly work in NS6...

NS6 is AWESOME!

turfbult
Jun 2nd, 2001, 03:33 AM
It just seems like the NS issue will never end!!

T