Andi B wrote:
Quote:
I can use the style="background-color: cccc98; font-family: comic
sans ms; color: 006600" to specify the colour of the background,
the font face and the font colour - but is it possible to also
colour the arrow on the right side of the option box, and if so,
what are the commands to colour it? |
Maybe this will help you (source page (german):
http://www.tutorials.de/showthread.php?s=
77e3200655b4fda60d296e16e5b7afac&threadid=9801
&highlight=css+dropdown)
It's not css or html.. but maybe it's something for you:
////////////////
<script>
<!--// Script by Enno Boland
var dozu = false;
function opengs()
{
if(dozu == false) {
gs.style.visibility = "visible";
dozu = true;
}
else{
gs.style.visibility = "hidden";
dozu = false;
}
}
function dotxt(text)
{
document.form.GSfield.value = text;
gs.style.visibility = "hidden";
dozu = false;
}
// Script Ende -->
</script>
Body:
code:
<form name="form">
<div id="gs" style="position:absolute; visibility: hidden; width:
330px; border: 1px solid #404060; background-color: #e0e0e8; z-index
: 20">
<a href="java script:dotxt('Hallo')">Hallo</a><br>
<a href="java script:dotxt('Hallo Welt!')">Hallo Welt!</a><br>
<a href="java script:dotxt('...und hier etwas anderes...')">Hier
steht das...</a></div>
<input type="text" name="GSfield" size="50" style="
background-color : #e0e0e8;
color: #000000;
border: 1px solid #404060;
font-size: 10pt;
font-family: Arial;
" readonly onclick="opengs()"><img src="drop.gif" onclick="opengs()"
style="vertical-align:bottom">
</form>
</body>
</html>
//////////////////////////
--
I Disapprove Of What You Say, But I Will Defend To The Death Your
Right To Say It.
(Voltaire)