PDA

View Full Version : style sheet for drop down menu???


wanye
03-30-2003, 08:37 AM
style sheet for drop down menu?
hi, can a dropdown menu be customized by using css?
wads e coding for it..? thx

WA
03-30-2003, 08:56 AM
Hi:
Please be more specific when posting questions in the future. For example, which drop down menu? A code for it would be very helpful, plus what you actually wish to customize by using CSS on it (ie: change font size, background color etc).

wanye
03-30-2003, 09:04 AM
ya.. i mean wads the code for customising the bgcolor, border , font size and the arrow of a drop down menu.... thx...

meow
03-30-2003, 09:18 AM
Yes, but do you mean a menu created with select elements or DHTML menu like brothercakes below?
http://brothercake.com/dropdown/

wanye
03-30-2003, 09:28 AM
ya.... using the select menu... i need help on styling that. thx.

Mhtml
03-30-2003, 10:30 AM
Ok well you have a few options.
That's really easy.


<style>
select {
font-family:arial;
font-weight:bold;
font-style:italic;
font-size:13pt;
color:#ffffff;
background-color:#2266ac;
}
</style>


I'll dig up a reference sheet for you in a sec. :)

Mhtml
03-30-2003, 10:33 AM
Here ya go - http://www.javascriptkit.com/dhtmltutors/cssreference.shtml

I used to use that all the time until I could remember CSS syntax. :) Keep it under you pillow ;).

And don't forget there are many more kewl things at www.javascriptkit.com that will help you!

wanye
03-30-2003, 03:12 PM
hi all, can anyone tell me wads the difference btw relative positioning and absolute positioning?
Because i have problems on layer position when the browser is maximised and minimised... can i fixed the layer position for both?