Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 01-08-2008, 07:11 AM
peterg peterg is offline
Junior Member
Join Date: Jan 2008
Posts: 4
  #1  
Default menu item class not working for VISITED

im trying to design a small menu around the main menu but still in the same UL, all seems fine except for some reason the new class tag is not applied if its VISITED....cant seem to get it...
the page is for your security
and the particular CSS ...
Code:
	
	
	.udm ul.minimen {
	width:8em;
	border-color:#ff00005;
	border-style:solid;
	background-image:none;
	background-color:#fec;
	}
.udm span.minimen {
	margin-left:2px;
	margin-top:2px;
	}
.udm span.minimen {
	background-image:url(udm-resources/orangeshadow.png);
	filter:none;
	filter:alpha(opacity=50);
	}



.udm li.minimen a,.udm li.minimen a:link,.udm li.minimen a.nohref {
	border-color:#fec;
	background-image:none;
	background-color:#ff0000;
	color:#803090;
	border-style:solid;
	border-width:0px;
	text-decoration:none;
	text-align:left;
	font-style:normal;
	font-size:70%;
	}
.udm li.minimen a,.udm li.minimen a:link,.udm li.minimen a.nohref .udmA,.udm li.minimen a,.udm li.minimen a.nohref .udmA {
	font-family:tahoma,sans-serif;
	font-weight:normal !important;
	}
.udm ul li.minimen a:visited,* html .udm ul li.minimen a:visited {
	background-image:none;
	background-color:#ff0000;
	color:#ff0000;
	border-color:#fec;
	font-style:normal;
	border-width:0px;
	border-style:solid;
	}
.udm ul li.minimen a.udmR,.udm ul li.minimen a.udmY,.udm ul li.minimen a.udmR:visited,.udm ul li.minimen a.udmY:visited,.udm ul li.minimen a:hover,.udm ul li.minimen a:focus,.udm ul li.minimen a.nohref:hover,.udm ul li.minimen a.nohref:focus,.udm ul li.minimen a:visited:hover {
	background-image:none;
	background-color:#ffff00;
	color:#5656bd;
	border-color:#edbb85;
	text-decoration:none;
	border-width:0px;
	border-style:solid;
	font-style:normal;
	}
* html .udm li.minimen a:active {
	background-image:none;
	background-color:transparent;
	color:#5656bd;
	border-color:#edbb85;
	text-decoration:none;
	border-width:10px;
	border-style:solid;
	font-style:normal;
	}

Last edited by peterg : 01-08-2008 at 07:27 AM.
Reply With Quote
Unread 01-08-2008, 07:27 AM
peterg peterg is offline
Junior Member
Join Date: Jan 2008
Posts: 4
  #2  
Default

nevermind, fixed it with some extra classes defining only ".udm li.minimen a:visited"
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:27 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.