Jump to content

Recommended Posts

В браузерах Хром и Опера граница отображается не до конца, а в Мозиле ее вообще нет.( на рисунках видно)

OpenCart 1.5.1.3; Шаблон http://colaweb.ru/gifts/for-men/ - в демо все нормально.

Мой код stylesheet.css:

/* menu */
#menu {
border-width: 6px 0px;
-moz-border-image: url("../image/line.png") 8 0 repeat;
-webkit-border-image: url("../image/line.png") 8 0 repeat;
-o-border-image: url("../image/line.png") 8 0 repeat;
border-image: url("../image/line.png") 8 0 repeat;
height: 41px;
margin-bottom: 19px;
padding: 19px 0px;
text-shadow: #ffffff 0px 1px 0px;
filter: dropshadow(color=#ffffff,offX=0,offY=1);
font-family: 'Lobster';
}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
}
#menu > ul > li {
position: relative;
float: left;
z-index: 20;
}
#basket-1 {
background: url("../image/basket.png") no-repeat;
display: block;
height: 40px;
position: absolute;
right: -19px;
top: -2px;
width: 49px;
}
#menu > ul > li > a.active {
color: #C51D02;
}
#menu > ul > li > a {
font-size: 29px;
color: #868686;
line-height: 14px;
text-decoration: none;
display: block;
padding: 11px 40px 12px 26px;
z-index: 6;
position: relative;
}
#menu > ul > li > a:hover {
color: #C51D02;
}
#menu > ul > li > div {
display: none;
position: absolute;
z-index: 5;
padding: 9px 17px 9px;
border-width: 0px 0px 6px;
-moz-border-image: url("../image/line.png") 0 0 8 repeat;
-webkit-border-image: url("../image/line.png") 0 0 8 repeat;
-o-border-image: url("../image/line.png") 0 0 8 repeat;
border-image: url("../image/line.png") 0 0 8 repeat;
background: url("../image/bg.jpg");
}
#menu > ul > li:hover > div {
display: table;
}
#menu > ul > li > div > ul {
display: table-cell;
}
#menu > ul > li ul + ul {
padding-left: 20px;
}
#menu > ul > li ul > li > a {
text-decoration: none;
padding: 4px;
color: #868686;
display: block;
white-space: nowrap;
min-width: 120px;
font-size: 24px;
}
#menu > ul > li ul > li > a:hover {
color: #C51D02;
}
#menu > ul > li > div > ul > li > a {
color: #868686;
}

post-28676-0-45935700-1360360718_thumb.png

post-28676-0-64891700-1360360719_thumb.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.