Jump to content
  • 0

Не отображается цвет меню в опере


akimov
 Share

Question

Вот CSS-код, в IE отображается нормально, в опере без красного цвета!

.glowingtabs{
width:100%;
background-color:#e23620;
}


.glowingtabs ul{
list-style-type: none;
margin:5px;
/*Left offset of entire tab menu relative to page*/
padding:0;

}

.glowingtabs li{
background-color:#e23620;
display:inline;
margin:0;
padding:0;
}

.glowingtabs a{
float:left;
margin:0;
margin-right: 5px; /*spacing between each tab*/
padding:0 0 0 9px;
text-decoration:none;
}

.glowingtabs a span{
float:left;
display:block;
padding: 0px 12px 2px 3px;
font-weight:normal;
color:white;
}

/* Commented Backslash Hack hides rule from IE5-Mac */
.glowingtabs a span {float:none;}
/* End IE5-Mac hack */

.glowingtabs a:hover span {
color: #000000;
}

.glowingtabs li.selected a{ /*Selected Tab style*/
background-position:0 -82px; /*Shift background image up to start of 2nd tab image*/
}

.glowingtabs li.selected a span{ /*Selected Tab style*/
background-position:100% -82px; /*Shift background image up to start of 2nd tab image*/
color: #000000;
}

.glowingtabs a:hover, .glowingtabs li.selected a:hover{ /*onMouseover style*/
background-position:0% -82px; /*Shift background image up to start of 2nd tab image*/
}

.glowingtabs a:hover span, .glowingtabs li.selected a:hover span{ /*onMouseover style*/
background-position:100% -82px; /*Shift background image up to start of 2nd tab image*/
}

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

доктайп

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

html

<div id="glowmenu" class="glowingtabs">
<ul>
<li><a href="/" title="Главная"><span>Главная</span></a></li>
<li><a href="#" title="О нас" rel="dropmenu1_d"><span>О нас</span></a></li>
<li><a href="http://rang56.ru/pages/contact/" title="Контакты"><span>Контакты</span></a></li>
<li><a href="#" title="Вся реклама Оренбурга" rel="dropmenu2_d"><span>Вся реклама Оренбурга</span></a></li>
<li><a href="#" title="Портфолио" rel="dropmenu3_d"><span>Портфолио</span></a></li>
</ul>
</div>

Link to comment
Share on other sites

  • 0

Он в разных файлах

Меню

.glowingtabs{
width:100%;
background-color:#e23620;
}


.glowingtabs ul{
list-style-type: none;
margin:5px;
/*Left offset of entire tab menu relative to page*/
padding:0;

}

.glowingtabs li{
background-color:#e23620;
display:inline;
margin:0;
padding:0;
}

.glowingtabs a{
float:left;
margin:0;
margin-right: 5px; /*spacing between each tab*/
padding:0 0 0 9px;
text-decoration:none;
}

.glowingtabs a span{
float:left;
display:block;
padding: 0px 12px 2px 3px;
font-weight:normal;
color:white;
}

/* Commented Backslash Hack hides rule from IE5-Mac */
.glowingtabs a span {float:none;}
/* End IE5-Mac hack */

.glowingtabs a:hover span {
color: #000000;
}

.glowingtabs li.selected a{ /*Selected Tab style*/
background-position:0 -82px; /*Shift background image up to start of 2nd tab image*/
}

.glowingtabs li.selected a span{ /*Selected Tab style*/
background-position:100% -82px; /*Shift background image up to start of 2nd tab image*/
color: #000000;
}

.glowingtabs a:hover, .glowingtabs li.selected a:hover{ /*onMouseover style*/
background-position:0% -82px; /*Shift background image up to start of 2nd tab image*/
}

.glowingtabs a:hover span, .glowingtabs li.selected a:hover span{ /*onMouseover style*/
background-position:100% -82px; /*Shift background image up to start of 2nd tab image*/
}

/* ######### Style for Drop Down Menu ######### */

.dropmenudiv_d{
position:absolute;
top: 0;
border: 1px solid #E23620; /*THEME CHANGE HERE*/
line-height:18px;
z-index:100;
background-color: #E23620;
width: 200px;
visibility: hidden;
}


.dropmenudiv_d a{
width: auto;
display: block;
text-indent: 5px;
border: 1px solid #E23620; /*THEME CHANGE HERE*/
padding: 2px 0;
text-decoration: none;
color: #FFFFFF;
}

* html .dropmenudiv_d a{ /*IE only hack*/
width: 100%;
}

.dropmenudiv_d a:hover{ /*THEME CHANGE HERE*/
color:#000000;
background-color: #FE853D;
}

* {margin:0px; padding:0px; font-size:14px; font-family:"Times New Roman", Times, serif}
a img { border:#000 solid 1px;}
p { padding:0px 0px; text-indent:10px; text-align:justify;}
.no_indent p { text-indent:0px;}
li p { text-indent:0;}
body {min-width:1000px;}
h1 { font-size:20px;}
h3 { font-size:14px; color:#e23620; margin-top:7px;}

#line1 {background: #000000; height: 1px; margin-right: 36px; margin-left:14px; overflow: hidden;}
#line2 {background: url(main_left.gif) left top no-repeat; width: 48px; height: 1px; float: left; overflow: hidden;}
#line3 {background: url(main_right.gif) right top no-repeat; width: 100px; height: 1px; float: right; overflow: hidden;}

#top {position:relative; top:0px; left:0px; background-color:#e23620; height:140px; border-bottom:80px #FFF solid;}
#top_logo {right:50px; top:37px; position:absolute; border:0px;}

#main {left:0px; min-width:220px; margin-right:274px; margin-left:165px;}

.right_bgr { background:url(menu_right.gif) right top no-repeat;}

#prelease {left:0px; min-width:220px; margin-left:15px; position:relative;}
.pre_bottom_link { text-align:right; color:#e23620; font-size:10px; bottom:0;}
.pre_bottom_link:hover { color:#f34731;}

#news, #redact, #rightmap {position:relative; padding-left:30px; font-size:9px;}
#news {float:left; width:370px; height:200px;}
#redact {margin:0 270px 0 400px; border-left:dashed 1px #999; height:200px;}
#news h1, #rightmap h1, #redact h1, #main h1, #right h1, #left h1{ font-size:14px; color:#e23620; margin-bottom:10px; padding-top:7px;}
#news h2, #rightmap h2, #redact h2, #main h2, #right h2, #left h2{ font-size:12px; color:#e23620; margin-top:10px; font-style:normal;}
#rightmap {float:right; width:240px; height:200px; border-left:solid 1px;}
#rightmap img { border:solid 1px;}

#portfolio p{ margin-bottom:30px;}
#main li {margin-left:30px;}

#portfolio IMG, #nagradi IMG {margin-right:20px; border:1px solid #000;}

#right {float:right; width:241px; top:300px; background:url(menu_bottom.gif) top left no-repeat; padding-left:30px;}
#right_shar {float:right; width:220px; top:300px; margin-bottom:10 px;padding-left:30px;}
#left {float:left; width:140px; top:300px; background:url(menu_bottom.gif) top right no-repeat; padding-left:20px;}
#left p { margin-bottom:5px;}

#bottom {
left:0px; min-width:220px;
margin-right:280px; padding:5px 0px 5px 50px;}
#bottom p, #bottom a, #bottom {font-size:10px; color:#999;}

.rekpic {border:0; float:left; margin:5px 10px;}

#ban { position:absolute;
left:275px;
top:64px;
z-index:100;}

Link to comment
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.
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