Hey friends, Im building my own wordpress theme and i have problem that CSS dont load to my menu in IE (internet explorer) and i dont know what is the problem.
My page is www.alanklepacz.pl
And it can help i hope :
nav ul li {
list-style: none;
text-decoration: none;
background: #868686;
margin-left: -40px; /* Ale dlaczego ? */
margin-bottom: 5px;
}
nav ul li a{
display: block;
text-decoration: none;
width: 200px;
font: 24px Verdana, Serif;
font-weight: bold;
color: #fff;
padding-left: 10px;
}
nav ul li a:hover {
background: #e37661;
width: 190px;
}
And this is in sidebar.php
<nav>
<?php wp_nav_menu(array('menu' => 'Menu')); ?>
</nav>
And also the part code of functions.php
if (function_exists('register_nav_menus')) {
register_nav_menus(
array(
'main_nav' => 'Menu'
)
);
}