Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to color dynamic list menu (Cold fusion context) 1

Status
Not open for further replies.

buddyholly

Programmer
Sep 12, 2002
24
FR
I have a list menu, dynamically populated - but cant figure out how to define the color of the inside of the menu. I can do it for a non dynamic menu, but the same approach does not work for dynamic.
Many thanks in advance for any help
 
use CSS....it will work regardless.
Code:
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<style>
.decorate {
	border: 1px solid #CCCCCC;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	background-color: #FF9900;
}
</style>
<body>
<select name=&quot;select&quot; class=&quot;decorate&quot;>
  <option value=&quot;1&quot;>first</option>
  <option value=&quot;2&quot;>second</option>
  <option value=&quot;3&quot;>third</option>
  <option value=&quot;4&quot;>fourth</option>
</select>
</body>
</html>
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top