Note that there are some explanatory texts on larger screens.

plurals
  1. POCan someone see why this nav bar looks different in chrome compared to IE and FF?
    primarykey
    data
    text
    <p>I have created a simple nav bar which you can see <a href="http://deucalion0.co.uk/nav.html" rel="nofollow">here</a>. I have no idea why it looks the same in IE and FF but different in Chrome. I am using:</p> <p>IE 10, FF 20 and Chrome 27.</p> <p>Here is the HTML:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;Gem Training services&lt;/title&gt; &lt;meta name="description" content="Gem training services"&gt; &lt;meta name="keywords" content=""&gt; &lt;meta name="author" content="Raymond Leadingham"&gt; &lt;meta name="dcterms.rightsHolder" content="Raymond Leadingham"&gt; &lt;meta name="viewport" content="width=1040" /&gt; &lt;link rel="shortcut icon" href="images/favicon.ico" /&gt; &lt;link rel="stylesheet" type="text/css" href="styles.css" /&gt; &lt;/head&gt; &lt;body&gt; &lt;ul id="nav"&gt; &lt;li&gt;&lt;a href="index.php"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="ourexpertise.php"&gt;Our Expertise&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="aboutus.php"&gt;About Us&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="ourservices.php"&gt;Our Services&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="learningmethods.php"&gt;Learning Methods&lt;/a&gt;&lt;/li&gt; &lt;li &gt;&lt;a href="contactus.php"&gt;Contact Us&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>And the CSS:</p> <pre><code>#nav { width: 1000px; float: left; margin: 0 0 48px 0; padding: 0; list-style: none; background-color: #f2f2f2; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; } #nav li { float: left; } #nav li a { display: block; padding: 10px 40px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: #1C4688; border-right: 1px solid #ccc; } #nav li a:hover { color: #45176E; background-color: #fff; } ul li:first-child{ border-left: 1px solid #ccc; } </code></pre> <p>There is a little gap at the right of the nav bar in FF and IE, but a bigger gap in Chrome, I have no idea how to style this nav bar so it is the same in all browsers, any insight is appreciated.</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.
 

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