3 replies [Last post]
chernab0g
chernab0g's picture
User offline. Last seen 2 years 4 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-01-08
Posts: 1
Points: 2

I am a complete novice. I used the purecss.com generator to create a menu.

I have an alphabetical bar, and A-M work just fine. N-Z don't work. If you mouse over the header, the links beneath are displayed, but when you try to click on them, they disappear.

I've combed through things as best I can (which is decided newbie-level, where I understand only a fraction of everything displayed), and I don't see anything that changes between the letters M and N.

The menu is displayed on an internal confluence wiki, so I'm unable to provide a link to it. The code for it is here:

ul.cssMenu ul{display:none}
ul.cssMenu li:hover>ul{display:block}
ul.cssMenu ul{position: absolute;left:-1px;top:98%;}
ul.cssMenu ul ul{position: absolute;left:98%;top:-2px;}
ul.cssMenu,ul.cssMenu ul {
	margin:0px;
	list-style:none;
	padding:0px 2px 2px 0px;
	background-color:#ffffff;
	background-repeat:repeat;
	border-color:#AAAAAA;
	border-width:1px;
	border-style:solid;
}
ul.cssMenu table {border-collapse:collapse}ul.cssMenu {
	display:block;
	zoom:1;
	float: left;
}
ul.cssMenu ul{
	width:289.8px;
}
ul.cssMenu li{
	display:block;
	margin:2px 0px 0px 2px;
	font-size:0px;
}
ul.cssMenu a:active, ul.cssMenu a:focus {
outline-style:none;
}
ul.cssMenu a, ul.cssMenu li.dis a:hover, ul.cssMenu li.sep a:hover {
	display:block;
	vertical-align:middle;
	background-color:#ffffff;
	border-width:0px;
	border-color:#6655ff;
	border-style:solid;
	text-align:left;
	text-decoration:none;
	padding:4px;
	_padding-left:0;
	font:normal 11px Verdana;
	color: #444444;
	text-decoration:none;
	cursor:default;
}
ul.cssMenu span{
	overflow:hidden;
}
ul.cssMenu li {
	float:left;
}
ul.cssMenu ul li {
	float:none;
}
ul.cssMenu ul a {
	text-align:left;
	white-space:nowrap;
}
ul.cssMenu li.sep{
	text-align:center;
	padding:0px;
	line-height:0;
	height:100%;
}
ul.cssMenu li.sep span{
	float:none;	padding-right:0;
	width:5;
	height:16;
	display:inline-block;
	background-color:#AAAAAA;	background-image:none;}
ul.cssMenu ul li.sep span{
	width:80%;
	height:3;
}
ul.cssMenu li:hover{
	position:relative;
}
ul.cssMenu li:hover>a{
	background-color:#4792E6;
	border-color:#665500;
	border-style:solid;
	font:normal 11px Verdana;
	color: #ffffff;
	text-decoration:none;
}
ul.cssMenu li a:hover{
	position:relative;
	background-color:#4792E6;
	border-color:#665500;
	border-style:solid;
	font:normal 11px Verdana;
	color: #ffffff;
	text-decoration:none;
}
ul.cssMenu li.dis a {
	color: #AAAAAA !important;
}
ul.cssMenu img {border: none;float:left;_float:none;margin-right:4px;width:16px;
height:16px;
}
ul.cssMenu ul img {width:16px;
height:16px;
}
ul.cssMenu img.over{display:none}
ul.cssMenu li.dis a:hover img.over{display:none !important}
ul.cssMenu li.dis a:hover img.def {display:inline !important}
ul.cssMenu li:hover > a img.def  {display:none}
ul.cssMenu li:hover > a img.over {display:inline}
ul.cssMenu a:hover img.over,ul.cssMenu a:hover ul img.def,ul.cssMenu a:hover a:hover ul img.def,ul.cssMenu a:hover a:hover img.over,ul.cssMenu a:hover a:hover a:hover img.over{display:inline}
ul.cssMenu a:hover img.def,ul.cssMenu a:hover ul img.over,ul.cssMenu a:hover a:hover ul img.over,ul.cssMenu a:hover a:hover img.def,ul.cssMenu a:hover a:hover a:hover img.def{display:none}
ul.cssMenu a:hover ul,ul.cssMenu a:hover a:hover ul{display:block}
ul.cssMenu a:hover ul ul{display:none}
ul.cssMenu span{
	display:block;
	background-image:url(<a href="http://wiki/download/attachments/3868397/arrv_anim_1.gif" title="http://wiki/download/attachments/3868397/arrv_anim_1.gif">http://wiki/download/attachments/3868397/arrv_anim_1.gif</a>);
	background-position:right center;
	background-repeat: no-repeat;
   padding-right:11px;}
ul.cssMenu li:hover>a>span{	background-image:url(<a href="http://wiki/download/attachments/3868397/arrv_anim_1o.gif" title="http://wiki/download/attachments/3868397/arrv_anim_1o.gif">http://wiki/download/attachments/3868397/arrv_anim_1o.gif</a>);
}
ul.cssMenu a:hover span{	_background-image:url(<a href="http://wiki/download/attachments/3868397/arrv_anim_1o.gif" title="http://wiki/download/attachments/3868397/arrv_anim_1o.gif">http://wiki/download/attachments/3868397/arrv_anim_1o.gif</a>)}
ul.cssMenu ul span,ul.cssMenu a:hover table span{background-image:url(<a href="http://wiki/download/attachments/3868397/arr_double_1.gif" title="http://wiki/download/attachments/3868397/arr_double_1.gif">http://wiki/download/attachments/3868397/arr_double_1.gif</a>)}
ul.cssMenu ul li:hover > a span{	background-image:url(<a href="http://wiki/download/attachments/3868397/arr_double_1o.gif" title="http://wiki/download/attachments/3868397/arr_double_1o.gif">http://wiki/download/attachments/3868397/arr_double_1o.gif</a>);}
ul.cssMenu table a:hover span,ul.cssMenu table a:hover a:hover span{background-image:url(<a href="http://wiki/download/attachments/3868397/arr_double_1o.gif" title="http://wiki/download/attachments/3868397/arr_double_1o.gif">http://wiki/download/attachments/3868397/arr_double_1o.gif</a>)}
ul.cssMenu table a:hover table span{background-image:url(<a href="http://wiki/download/attachments/3868397/arr_double_1.gif" title="http://wiki/download/attachments/3868397/arr_double_1.gif">http://wiki/download/attachments/3868397/arr_double_1.gif</a>)}

The tool worked properly in IE6, and has this issue in IE7. Those are the only two browsers used here, and I don't have access to IE6 any longer.

Any help that anyone could assist me with would be greatly appreciated.

Thanks,

Tyssen
Tyssen's picture
User offline. Last seen 12 hours 46 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8123
Points: 1302

I had to remove the HTML from

I had to remove the HTML from your post because including it within code tags was preventing the whole post from displaying. Please try to repost it (but in a shortened form - we don't need to see all of it).

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

brightyoursite
brightyoursite's picture
User offline. Last seen 1 year 42 weeks ago. Offline
rank Regular
Regular
Timezone: GMT+8
Joined: 2010-01-11
Posts: 20
Points: 24

dont understand someting clearn

background-image:url(<a href="http://wiki/download/attachments/3868397/arrv_anim_1o.gif" title="http://wiki/download/attachments/3868397/arrv_anim_1o.gif">http://wiki/download/attachments/3868397/arrv_anim_1o.gif</a>)

don't understand this clearly.
i have 2 types of sub menu and one 1 level menu.
http://www.brightyoursite.com/blog/2010/01/10/ul-li-css-seo-friendly-sub-menu/
and
http://www.brightyoursite.com/blog/2010/01/10/the-simple-ul-li-css-seo-friendly-horizontal-menu/

maybe this will be help u.

http://www.brightyoursite.com I'm a freelancer and available now,Looking for your hire.

Tyssen
Tyssen's picture
User offline. Last seen 12 hours 46 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8123
Points: 1302

brightyoursite

brightyoursite wrote:

background-image:url(<a href="http://wiki/download/attachments/3868397/arrv_anim_1o.gif" title="http://wiki/download/attachments/3868397/arrv_anim_1o.gif">http://wiki/download/attachments/3868397/arrv_anim_1o.gif</a>)

don't understand this clearly.

It looks like the forum's doing that because of the http:// in the path of the image. Take it out and it comes out as it should.

background-image:url(/wiki/download/attachments/3868397/arrv_anim_1o.gif)

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference