Web Design Help
It's free to register, to post a question or to start / join a discussion
Navigation Menu not displaying correctly
Likes # 0
Posted August 6, 2013 at 8:40PM
Hi
I have been using the sample website that comes with Visual Web Developer 2010 Express, and when in Test mode the Navigation Menu displays as I want it to - as a series of separate, highlighted, tabs. However, when I publish to live, the Menu just displays as a horizontal, unseparated, list.
I am extremely new to this (aspx; css etc), never having used style sheets before, so any 'simply explained' suggestions greatly appreciated.
Many thanks
Likes # 0
Posted August 11, 2013 at 8:54AM
Please post a url so we can take a look at the problem.
Likes # 0
Posted August 11, 2013 at 8:43PM
Likes # 1
Posted August 12, 2013 at 2:16AM
I've no idea what you've done, but your style sheet indicates an unordered list to create your menu (a common method), but your page code shows a table - hence other than some minor local styling, nothing matches up.
I recreated your code and substituted an unordered list in place of a table and although it's not what you describe, is beginning to work.
I got a yellow background with a (darkish?) blue/grey background for the tab, that changes to a lighter grey on hover.
However, the tabs span 100% of the page, so that's clearly not the only issue with your code. But if you add:
position: relative;
float: left;
to your
div.menu ul li a
css, and get rid of the table and substitute an unordered list, it all begins to work.
Likes # 0
Posted August 12, 2013 at 5:02PM
wow what an act of web-design kindness! Impressed!
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
iPhone 5S vs BlackBerry Z10 smartphone comparison review - how does BlackBerry Z10 compare to latest iPhone?
-
Nexus 5 release date, price, photos and specs rumours
-
GTA 5 release date in UK: Brand new GTA 5 Map, midnight launch store locator and online gameplay video and screenshots
-
iPhone 5S vs Galaxy Note 3 smartphone comparison review - how does Apple's latest iPhone compare to the Galaxy Note 3?
-
HTC One vs iPhone 5 comparison review



