Welcome visitor
* Login
* Register
It is currently September 20th, 2019, 1:46 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Select box smaller than some options
PostPosted: February 8th, 2010, 6:00 pm 

Posts: 19
Do you know if there's a way to make a select menu box smaller than its inner options?

Usually the size of the box fits the biggest option, can I with CSS create a box smaller in width and height?

Thank you.


Top
 Profile  
 
  Re: Select box smaller than some options
PostPosted: February 8th, 2010, 8:50 pm 

Posts: 57
Yes,
<style type="text/css">
select{width: 60px; height: .5em}
</style>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron