Note that there are some explanatory texts on larger screens.

plurals
  1. POIE6 and IE7 Navigation spacing issue
    primarykey
    data
    text
    <p>I'm having a menu spacing issue in IE7 and IE6 that I cannot get to look right.</p> <p>My navigation can be found at <a href="http://js.philosophydesign.com" rel="nofollow noreferrer">http://js.philosophydesign.com</a></p> <p><a href="http://www.philosophydesign.com/downloads/menuspacing.png" rel="nofollow noreferrer">http://www.philosophydesign.com/downloads/menuspacing.png</a></p> <p>As you can see in IE8 and others it displays fine. IE7 the menu items are partially seperated but in IE6 they are seperated hugely.</p> <p>Navigation HTML:</p> <pre><code>&lt;a class="float-left" href="http://js.philosophydesign.com"&gt;&lt;img src="http://js.philosophydesign.com/wp-content/themes/philosophy/images/logo.gif" alt="Jeremy Stratton - Writing that works" title="Jeremy Stratton - Writing that works" /&gt;&lt;/a&gt; &lt;div id="mainnavcont" class="float-right"&gt; &lt;ul id="mainmenu" class="menu"&gt; &lt;li id="menu-item-25" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-6 current_page_item menu-item-25"&gt;&lt;a href="http://js.philosophydesign.com/"&gt;I get to your point&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-26"&gt;&lt;a href="http://js.philosophydesign.com/me-and-my-work/"&gt;Me and my work&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-27"&gt;&lt;a href="http://js.philosophydesign.com/things-ive-written/"&gt;Some of the things I’ve written&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-28"&gt;&lt;a href="http://js.philosophydesign.com/improve-your-writing/"&gt;Improve your writing&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-29" class="menu-item menu-item-type-post_type menu-item-29"&gt;&lt;a href="http://js.philosophydesign.com/what-people-say-about-me/"&gt;What people say about me&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-30" class="menu-item menu-item-type-taxonomy menu-item-30"&gt;&lt;a href="http://js.philosophydesign.com/category/my-blog/"&gt;My blog&lt;/a&gt;&lt;/li&gt; &lt;li id="menu-item-31" class="menu-item menu-item-type-post_type menu-item-31"&gt;&lt;a href="http://js.philosophydesign.com/get-in-touch/"&gt;Get in touch&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>Navigation CSS:</p> <pre><code>/**** Main Navigation ****/ div#mainnavcont { float:right; width:673px; } ul#mainmenu { display:block; list-style:none; margin:0; padding:0; } ul#mainmenu li a { color:#000; display:block; font-family:"HelveticaNeueLight45", "Trebuchet MS", Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; padding-left:10px; margin-left:-10px; text-decoration:none; } ul#mainmenu li a:hover, ul#mainmenu li.current-menu-item a, ul#mainmenu li.current-page-ancestor a { background:url(images/navbg.png) no-repeat 5px 50%; } </code></pre> <p>Anyone know why this menu is acting up in IE7 and IE6?</p> <p>Thanks</p> <p>Scott</p> <p>EDIT: Got it working with this css:</p> <pre><code>/**** Main Navigation ****/ div#mainnavcont { float:right; width:673px; } ul#mainmenu { display:block; list-style:none; margin:0; padding:0; width:200px; } ul#mainmenu li { display:block; float:left; width:200px; } ul#mainmenu li a { color:#000; display:block; font-family:"HelveticaNeueLight45", "Trebuchet MS", Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; padding-left:10px; margin-left:-10px; text-decoration:none; width:189px } ul#mainmenu li a:hover, ul#mainmenu li.current-menu-item a, ul#mainmenu li.current-page-ancestor a { background:url(images/navbg.png) no-repeat 5px 50%; } </code></pre>
    singulars
    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.
 

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