This project is read-only.

Main Navigation Menu displaying vertically in IE8

Topics: Writing themes
Nov 9, 2012 at 2:28 PM

Hi - I styled a new theme and was testing it at work in IE8 and the unordered list for the main navigation was displaying vertically instead of horizontally.The on hover was still working.

After digging around for solutions I also see the same behaviour for the orchard documentation page:

You can also see the behaviour using:

I am just wondering what I did wrong with my new theme?

I had added a div (around the @Display(Model.Body), @Display(Model.Tail)) and stylesheet reference to document.cshtml in my new theme. I found moving this to layout.cshtml solved my problems with viewing in IE8. Firefox and IE9 never had any problems. I started using Orchard 1.4.x and I am currently on 1.5.1.

Nov 14, 2012 at 11:19 AM

Thanks JasperD for your response. I had a quick look and yes the ul is wrapped in a nav-element for my theme too. I will have to post up what I am doing. Thanks