File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Not Able To Control the Dropdown Menu Width Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Not Able To Control the Dropdown Menu Width" Watch "Not Able To Control the Dropdown Menu Width" New topic
Author

Not Able To Control the Dropdown Menu Width

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I tried to set the width of my dropdown menu but it did not seem to work. I wonder what went wrong. Please help me.

[ February 28, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61094
    
  66

Originally posted by JiaPei Jen:
it did not seem to work


This is not useful.

How did it not work? Whatexactly happened that you did not expect? What did you expect to happen?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Sorry for not being clear about my question.

I changed the width specifiction:

width:8em
width:5em
width:12em
etc.

but the width of the dropdown menu stayed the same. I did not seem the width widened or narrowed in the browser.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61094
    
  66

Do you not think that including which browser you are using would be helpful?

Please read this and take it to heart.

Making people pull information out of you like hen's teeth is not a good way to get them to help you out.

That said, it works fine for me in all browsers I tested: Safari, Firefox, IE6 and IE7.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am sorry again. I use IE6.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61094
    
  66

Are you sure that the page is reloading? I tried it in IE6 without a hitch.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
It works now.

I do not understand why it did not work yesterday.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not Able To Control the Dropdown Menu Width