Width of Drop down select box in form... (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Stuart at Cherry -> Width of Drop down select box in form... (9/18/2001 20:38:00)

Am I being tremendously thick here?

I'm trying to put a couple of drop down menu items in a form using the insert>form>drop down menu. They are one above another in a form. Thats fine, but here's the thing:

The width of the box gets set by the width of the longet 'option' within that box. I've tried to resize it via every method I can think of but I can't get the two to be the same size as each other and therefore looking smart?

Is there a way around this? It's driving me nuts!!

Thanks in advance...

------------------
***born to be wild***





Mike54 -> RE: Width of Drop down select box in form... (9/18/2001 23:48:00)

Stuart,

This is a bit simplistic and I'm sure there is a real guru around to provide a much better answer but if you just make the last "option" with a series of underscores (no link) you can make the width the same for both.

------------------
I think, therefore I am, I think.





Spooky -> RE: Width of Drop down select box in form... (9/19/2001 21:31:00)

"The width of the box gets set by the width of the longet 'option' within that box"

Yes it does, but what are you trying to reset it to? longer or shorter?
You can apply css to make it longer, and I guess shorter?





Guest -> RE: Width of Drop down select box in form... (9/19/2001 22:08:00)

Bravo, Mike! Good thinking! I bet you thought up letting the air out of the tires when the truck was stuck under the bridge!




Stuart at Cherry -> RE: Width of Drop down select box in form... (9/20/2001 20:10:00)

Spooky, I just want the boxes to be the same width so they look neat. I guess therefore I want the smaller box to be widened to match the wider box?

Is there a link to show how to do this css?

And mike, that wasn't such a bad idea! At the moment I have them the same size by putting ***select here*** as the first (disallowed) option in each box. As this is longer than any of the options, it sets both boxes to the same size...

------------------
***born to be wild***





Andy from Spain -> RE: Width of Drop down select box in form... (9/20/2001 20:29:00)

Hi,

I know this isn't everyone's cup of tea but I just found an applet that mimics the drop-down menu www.pikeus.freeserve.co.uk/applets - it's only 3k and allows you to change font sizes.

Cheers
Andy

------------------
Internet Business Solutions S.L. (Spain)
Dreamweaver Users Forum





DarlingBri -> RE: Width of Drop down select box in form... (9/20/2001 20:22:00)

Stuart, why not do something like this:

Please select:
-----------------
option
option
option


All of the boxes would be the width of the ----------------- line...

--Bri

------------------
"Bother," said Pooh, as Piglet was assimilated by the Borg.
-------------------
Work, work, work: http://www.appercept.co.uk
Out of office hours: http://www.darlingbri.co.uk





Mike54 -> RE: Width of Drop down select box in form... (9/20/2001 16:21:00)

Hi Bri,

I'm afraid that Millie will think you let the air out of the tires at the "other end" of the truck.

------------------
I think, therefore I am, I think.





DarlingBri -> RE: Width of Drop down select box in form... (9/21/2001 20:23:00)

This week, posting - next week, reading!

Oops





Guest -> RE: Width of Drop down select box in form... (9/21/2001 20:02:00)

Why, Oh Why, didn't I go into tire sales!!!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625