edm73 Posted June 15, 2011 Share Posted June 15, 2011 This is a WordPress site, still very much in development, but when I updated WP version recently, the menu sprouted some random text - class=""> You can see it here: http://mercury.nethostcomputer.com/~eufc/z2012 Looking at the source code, there is clearly a missing opening bracket "<" somewhere... just I don't know where (I'm assuming somewhere in the CSS?)! Anybody got any ideas where to solve this? Quote Link to comment Share on other sites More sharing options...
sunfighter Posted June 15, 2011 Share Posted June 15, 2011 You have it twice in the HTML. Line 112 <ul id="nav"><li class="home"><a href="http://ebbsfleetunited.co.uk/z2012" rel="nofollow"><img src="http://ebbsfleetunited.co.uk/z2012/wp-content/themes/fleetred/images/men_icon_home.png" width="16" height="14" alt="" /></a></li>class=""><li id="menu-item-1860" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1860"><a href="http://ebbsfleetunited.co.uk/z2012/?cat=7">THE CLUB</a></li> Line 765 <ul id="footnav"><li class="home"><a href="http://ebbsfleetunited.co.uk/z2012" rel="nofollow"><img src="http://ebbsfleetunited.co.uk/z2012/wp-content/themes/fleetred/images/men_icon_home.png" width="16" height="14" alt="" /></a></li>class=""><li class="cleaner"> </li></ul> Find class=""> and delete it in both lines. Quote Link to comment Share on other sites More sharing options...
edm73 Posted June 16, 2011 Author Share Posted June 16, 2011 Thanks sunfighter... trouble is with Wordpress there is no HTML file as such (as far as I know). I think it's pulling in this from various PHP pages and CSS and I don't know where to look for the place this error is being thrown up. Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted June 16, 2011 Share Posted June 16, 2011 well css is not adding this. Since this is mark-up (css sets style to mark up nothing more) You might want to have a look in to the component that produces the menu. (so that is a php file) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.