Note that there are some explanatory texts on larger screens.

plurals
  1. POIE7 Dropdown List - anchor text not displaying inline
    primarykey
    data
    text
    <p>I have a dropdown tab-style list, using Suckerfish Dropdown as a starting point.<br> When I hover over the level 1 tab, the second level anchor text displays on multiple lines, as if they are line breaks. This only happens in IE7, not in IE8/9 or FF. </p> <p>Here's a screenshot:<br> <a href="http://i1200.photobucket.com/albums/bb333/MacGirl1986/DropDownIssue.gif" rel="nofollow">http://i1200.photobucket.com/albums/bb333/MacGirl1986/DropDownIssue.gif</a> </p> <p>Heres the CSS:</p> <pre><code> #navWrap{ background-color:transparent;/*test color*/ overflow: visible; padding: 0; position:absolute; right:100px; top:0; z-index:9000; } #tNav{font-size:13px;} #tNav ul{ padding: 0; margin: 0; list-style: none; font-size:13px; } #tNav li {/*Level 1 - horizontal menu*/ float: left; border: solid 1px transparent; position:relative; } #tNav a {/*level 1 text style*/ display: block; padding: 3px 10px; background-color:transparent; font-weight:bold; text-decoration: none; } #tNav a:visited, #tNav a:hover { font-weight:bold; color: #006400; text-decoration:none; } #tNav li:hover ul {left: auto;} #tNav li:hover { border:solid 1px #ccc; background-color:#fff; z-index:1000; } #tNav li ul {/*level 2 container- Second Level List*/ list-style: none; position: absolute; width: 120px; left: -999em; background-color:#fff; border: solid 1px #ccc; margin-top: 0px; margin-left: -1px; } #tNav li ul a, #tNav li ul a:hover{ border: none; font-weight:normal; text-decoration: none; display:block; } #tNav li ul a:hover, *this is area that is going to new line in IE*/ #tNav li ul a:active, #tNav li ul a:focus/{ color: #880000; font-weight:normal; text-decoration:underline; display:block; } #tNav ul li { clear:both;} #tNav li ul li:hover { border:solid 1px #fff; } </code></pre> <p>Heres the HTML:</p> <pre><code> s&lt;div id="navWrap"&gt; &lt;ul id="tNav"&gt; &lt;li&gt;&lt;a href="#"&gt;Help&lt;/a&gt; &lt;ul class="level2"&gt; &lt;li&gt;&lt;a href="#" class="category-link"&gt;Help Center&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Search Knowledge Base&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Contact Support&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Search Site Web Page&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Browse FAQs&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Buyers&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;New Buyers&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;For Buyers&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;How To Buy&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Buyer's Protection&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Sellers&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;New Sellers&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;For Sellers&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;How To Sell&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Fees &amp; Services&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Join our Network&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Sell an Item&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre>
    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.
    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