Jump to content
Sign in to follow this  
strmiba

CSS in Dropdown menus

Recommended Posts

strmiba

Hi. Is it possible to format dropdown menus (select, option) on a page like this: http://ammarnasfishing.com/rapporter/ without js? I would like to have the same semi-transparent look as on the rest of the page. Regards, Mikael


Göteborg:

Mikael Båth

Pontus Wiknersgatan 1

411 32 Göteborg

076-030 6873

[email protected]

http://www.9nine.se

London:

Ixnix Group Ltd.

8 Russell Street

Westminster

London WC2B 5HZ

http://www.ixnix.co.uk

Share this post


Link to post
Share on other sites
Danny
Hi Mikael, I apologise but I am not quite sure what you mean by format menues select or option ? Would it be possible to go into greater detail please.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Henry Perkins
@strmiba You can apply styles using the SELECT selector or applying a classname to a SELECT element. However, you'll run into issues with IE < 8 applying things like borders to the element. You can then target options by using the OPTION selector. Example: [code]SELECT { border: solid 1px red; font-weight: bold; } OPTION { background:green; font-style: italic; }[/code]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×