Hello
I have been looking around for a solution to my problem but I don't seem to have hit the right one. Not sure really whether this is a jQuery issue either, as opposed to an html / css one, but here goes:
Simply put, I have a navmenu whereby I am using a jQuery plugin (called spasticnav ... can't say I like the name, but there you go) and when applying this to my site it all seems to work fine in Opera, IE8 and 9, Firefox but when opening it up in Chrome the "blob" doesn't render properly and nor does it hover over the menu links properly.
If I open the site in Safari, the first time the page loads all looks good, but if I refresh I then get a similar reaction to Chrome.
To see what the site should look like, you could use Firefox.
I have html code that looks like this:
<div id="navmenu">
<ul id="nav">
<li id="selected"><a href="http://www.electricmayhemsolutions.net">home</a></li>
<li><a href="#">services</a></li>
<li><a href="#">about me</a></li>
<li><a href="#">contact me</a></li>
<li><a href="#">my blog</a></li>
</ul>
</div><!-- end of navmenu -->
and I have css code that looks like this:
#navmenu {
width: 978px;
height: 20px;
margin: 55px auto;
}
ul, li {
margin: 0; padding: 0;
}
#blob {
border: 1px solid #25fd01;
position: absolute;
z-index: 1;
top: 0;
background: #2D2D2D;
background: -moz-linear-gradient(top, #2D2D2D, #444);
background: -webkit-gradient(linear, left top, left bottom, from(#2D2D2D), to(#444));
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 2px 3px 10px #5d5d5d;
-webkit-box-shadow: 2px 3px 10px #5d5d5d;
}
#nav {
position: relative;
background: transparent;
float: right;
}
#nav li {
float: left;
list-style: none;
}
#nav li a {
color: #e3e3e3;
position: relative;
z-index: 2;
cursor: pointer;
float: left;
font-size: 15px;
font-weight: 700;
font-family: Calibri, Arial;
text-decoration: none;
padding: 0px 45px;
width: 100%;
}
I can post js code if/when necessary, but does anyone have any ideas about this one? I have tried comparing to the original tutorial site and for the life of me cannot spot any major differences that would cause this issue (the tut site seems to work fine in both Safari AND Chrome, of course!)
Thanks in advance