Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: not2easy
I never had to use it so I never learned how to create a custom drop-down menu.
I need the following:
A dropdown menu with a background color, and the height of the menu to be less than default, as well as the font to be smaller than default.
I have no problems with getting the background color and font, but nothing else seems to work.
Here is the code that works so far:
<form action="blahblah" method="post">
<input type="hidden" name="Animals" value="Animals">
<option value="#">Choose Animal >
I assume it may have something to do with a DIV or a CLASS entered somewhere in the form or input, but I can't get the font-size or size of menu itself to shrink. Does it have anything to do with <form style="CSS/TEXT"> or something similar? Any help is much appreciated.
Borders can be altered (again, applied to the <select> tag) and these changes will display in Netscape 6+/Mozilla etc., but not IE. Not sure about Opera.
Font style applied to the <form> element will be picked up by Netscape 4, which won't see the styles if they are applied to the <select>.
That about covers it. You can't change the colour or style of the <select> arrow as this is created by the OS (and will look different across OS's).