HTML and CSS Reference
In-Depth Information
You can either search for a JavaScript solution that
would make IE8 use that declaration or simply edit
index.html
and include a “
nmr
” class to the last item
from the menu, the “
Contact
” link.
It's similiar to the Twitter icon, where you added
that same class:
nmr
.
Selectivzr
is a jQuery library that can be added to
have Internet Explorer 8 suport the
:last-of-type
:
http://selectivizr.com/
If you choose the HTML option, switch back to
your text editor and open
index.html
to include the
nmr
class - apply it the last item.
Your updated HTML should look like this:
<div id=”menu”>
<ul class=”cf”>
<li><a href=”#” title=”#”>About</a></li>
<li class=”active”><a href=”#” title=”#”>Blog</a></li>
<li
class=”nmr”
><a href=”#” title=”#”>Contact</a></li>
</ul>
</div><!-- end #menu -->