Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS Dropdown menu offset in Internet Explorer, other artifacts too
    primarykey
    data
    text
    <p>I built a dropdown menu for a clients site using just css, and it looks great in chrome. Of course, I didn't check it in IE before allowing the client to use the site and of course the client uses IE. Anyways, here are two screenshots. The first one is chrome, and is what I want it to look like:</p> <p><a href="http://addproxy.net/sites/testing_space/chrome.jpg" rel="nofollow">http://addproxy.net/sites/testing_space/chrome.jpg</a> http://addproxy.net/sites/testing_space/ie.jpg</p> <p>And here is the CSS I used for the ENTIRE nav bar, because I have a feeling that one of my styles from the standard nav bar are causing the dropdown to look funny:</p> <pre><code>/* home (navigation) */ #nav{ background-image:url(images/nav_bg.png); position:relative; display:block; top:0; width:940px; height:42px; text-transform:uppercase; font-weight:400; font-size:12px; margin:-1px 0 0 0; border-bottom:1px solid #a61300; z-index:5; } #nav #language{ font-size:10px; float:right; } #nav ul li{ float:left; position:relative; } #nav ul li a{ display:block; } /*fancy nav */ #nav ul li ul a{ display:block; color:#fff; } #nav ul li ul { display:none; padding:10px 0; text-align:center; width:160px; background:#b83423; border:1px solid #a61300; margin:10px 0 0 -14px; z-index:10; } #nav ul li #esp { width:200px; } #nav ul li ul li{ border:0; } #nav ul li:hover ul{ list-style-type:none; display: block; position: absolute; z-index:10; } /*end fancy nav */ #nav a{ text-decoration:none; color:#fff; } #nav p{ position:relative; display:inline; } #nav a:active{ text-decoration:none; } #nav a:hover{ text-decoration:none; } #links{ margin:0 0 0 10px; } #links li{ display:inline; padding:12px 13px; list-style-type:none; } #links li{ border-right:1px solid #a61300; } #links a:hover{ color:#ddd; } #links a:last-child{ border:0; } </code></pre> <p>Here is the HTML:</p> <pre><code> &lt;div id="nav"&gt; &lt;ul id="links"&gt; &lt;a href="http://conceptoservices.com/?page_id=10"&gt;&lt;li&gt;Home&lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=13"&gt;&lt;li&gt;About Us&lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=16"&gt;&lt;li&gt;Contact Us&lt;/li&gt;&lt;/a&gt; &lt;a href="#"&gt;&lt;li&gt;Services &lt;ul&gt; &lt;a href="http://conceptoservices.com/?page_id=21"&gt;&lt;li&gt;Business Services&lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=23"&gt;&lt;li&gt;Notary Services&lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=25"&gt;&lt;li&gt;Other Services&lt;/li&gt;&lt;/a&gt; &lt;/ul&gt; &lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=27"&gt;&lt;li&gt;ITIN&lt;/li&gt;&lt;/a&gt; &lt;a href="http://conceptoservices.com/?page_id=29"&gt; &lt;li id="language"&gt; &lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/esp.png" /&gt; &lt;/li&gt; &lt;/a&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>This community never lets me down. Thanks in advance!</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.
    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