How to style/design menu in ColdFusion

cfmenu - menustyle attribute

cfmenuMenuStyle.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfmenu tag: how to use menustyle attribute in cfmenu in coldfusion</title>
</head>

<body>
<h2 style="color:RosyBrown; font-style:italic">cfmenu example: using menustyle attribute</h2>
<hr width="500" align="left" color="RosyBrown" />
<br />

<cfmenu 
 name="MainMenu" 
    bgcolor="HotPink" 
    font="Tahoma, Geneva, sans-serif"
    fontcolor="Snow" 
    fontsize="16"
    selectedfontcolor="Snow"
    selecteditemcolor="DeepPink"
    type="horizontal"
    menustyle="border:solid; border-width:medium; font-weight:bold; text-decoration:underline; color:SaddleBrown;"
    >
 <cfmenuitem display="Home" href="home.cfm"/>
 <cfmenuitem display="Science" href="science.cfm"/>
 <cfmenuitem display="Technology" href="technology.cfm"/>
</cfmenu>

</body>
</html>









More ColdFusion examples