Note that there are some explanatory texts on larger screens.

plurals
  1. POInternet Explorer 9 doesn't display CSS Dropdown Menu's correctly...?
    primarykey
    data
    text
    <p>I am working on a CSS-based drop down navigation menu for a HTML webpage. It renders perfectly under Google Chrome, Mozilla Firefox, and Mobile Safari, the problem is Internet Explorer 9. Instead of displaying as a bar, it displays everything with bullets like a CSS script wasn't assigned to it. My HTML is the standard</p> <pre><code> &lt;link href="menu.css" rel="stylesheet" /&gt; </code></pre> <p>and</p> <pre><code> &lt;nav&gt;&lt;ul&gt;&lt;li&gt;&lt;ul&gt;ITEM_NAME&lt;a href="LINKS"&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/nav&gt; </code></pre> <p>format.</p> <p>My CSS script looks like this:</p> <pre><code> nav { margin: auto; text-align: center; } nav ul ul { display: none; } nav ul li:hover &gt; ul { display: block; } nav ul { background: #000; list-style: none; position: relative; display: inline-table; } nav ul:after { content: ""; clear: both; display: block; } nav ul li { float: left; } nav ul li:hover { background: #FF6600; } nav ul li:hover a { color: #fff; } nav ul li a { display: block; padding: 10px 10px; color: #fff; text-decoration: none; } nav ul ul { background: #000; padding: 0; position: absolute; top: 100%; } nav ul ul li { float: none; border-top: 1px solid #333; border-left: 2px solid #333; border-right: 2px solid #333; border-bottom: 1px solid #333; position: relative; } nav ul ul li a { padding: 10px 10px; color: #fff; } nav ul ul li a:hover { background: #FF6600; } nav ul ul ul { position: absolute; left: 100%; top:0; } </code></pre> <p>Any ideas to what I need to do to make this render correctly in Internet Explorer 9? :) Thanks, Sean.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload