Jump to content
  • 0

Разное отображение на хостинге и Denwer


mfinn
 Share

Question

Первая тема не знал куда писать, но ответа не нашел на вашем форуме.

есть код отображения меню в CMS

<ul> <li></li> <li></li> <li></li></ul>

применяю к нему CSS для создания его "резиновым"


.menu
{
position:absolute;
margin : 0px 1px 0px 0px;
padding : 0;
width : 1024px;
height: 75px;
background-image:url(../images/menu_fon.png);
background-position:top;
background-repeat:repeat-x;
}

.menu ul {
margin : 10px 1px 0 0;
padding : 0;
display : table;
width : 99%;
height: 30px;
cursor: default;
background:none;
}

.menu li {
display : table-cell; /
width : 11%;
text-align : center;

}

.menu li:hover {
background-image:url(../images/menu_razd.png);
background-position:left;
background-repeat:repeat-x;
}

.menu li a {
text-decoration:none;
}

*html .menu li {
display : inline;
zoom : 1;

}

и тут проблема. по идее этот код не должен работать в IE. и при проверке на локальной машение так и есть, но при переносе на боевой хостинг все работает так как хотелось бы. Можете разъяснить почему?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy