...

View Full Version : A list/menu CSS issue



and3109
12-29-2006, 05:16 AM
The words in my select box seem to be getting cut off. I narrowed it down to the following code in CSS:

*{margin:0; padding:0;}

Which I obviously need to keep all of my margins pretty :) Any ideas? Thanks in advance...the link is below.

http://www.manliusvillage.org/test/test/test.html

whizard
12-29-2006, 05:23 AM
style your select box with this

CSS code:


width: LENGTH_HEREpx;


Dan

and3109
12-29-2006, 05:35 AM
I should have been more specific. Is there a way to dynamically have it resize no matter what word I put into it? Thanks for the quick reply though.

-Andrew

whizard
12-29-2006, 05:40 AM
Use this CSS:

CSS Code


option
{
margin:3px;
}


(you can change 3px to anything you want, it just seemed to be a good value..)

Dan

and3109
12-29-2006, 05:45 AM
Beautiful. Thanks man! Nominated.

-andy



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum