Forum Moderators: not2easy

Message Too Old, No Replies

Customize jumpmenu with css

         

dogio

10:15 am on Aug 6, 2003 (gmt 0)



Hi everyone,
I'm alex from italy and this is my first post in this forum.
I am not very familiar with CSS, but am trying to put together a webpage that uses CSS and a jump menu.
My question is :can CSS offer a total means of controlling the look of the jump menu?
Is it possible to change the background color and the scrollbar color of select box?.
If anyone has a suggestion I'd be grateful.

BlobFisk

10:33 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Alex!

You can control the background colour of the select element using CSS:


select {
background: #ccc;
color: #F00;
font-weight: bold;
}

Here the background colour will be grey, however IE will not follow the text style (Gecko engined browsers will though).

The scrollbar on a select list is inherited from the users OS, and therefore cannot be coloured using CSS.

HTH