Hi Leute!
Ich habe mir das Demo-Template angepasst und im Firefox, IE7 und Safari passt auch alles. Im IE 6 wird es aber komplett zerschossen. Wer kennt sich mit IE 6 aus und könnte mir evtl. weiterhelfen?
Danke,
morpher
/*******************************************************************************
Project : Redaxo Demo
Copyright : Design - hundertmorgen - www.hundertmorgen.de
*******************************************************************************/
/* Navigation vertical -
Wenn nur die Navigation mit der ID 3 verwendet wird, kann alles bis
zum nächsten Kommentar gelöscht werden
-------------------------------------------------------------------------------*/
/* ### Header Navigation ##################################################### */
#navheight_horiz_vert {
min-height: 153px;
margin: 20px 0;
}
* html body #navheight_horiz_vert { height: 153px; } /* IE 6 / 5.5 Hack */
#navheight_horiz_vert ul.nav1st { padding:0px 20px; }
#nav-header {
font-size: 1.3em;
}
#nav-header li {
display:inline;
/*border-left: 1px solid #aaa;*/
}
#nav-header a,
#nav-header a:link {
color:#00aeef;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
background-color: inherit;
padding: 0 8px;
}
#nav-header a:hover {
color:#ec008c;
background-color: inherit;
padding: 0 8px;
}
#nav-header a.current,
#nav-header a.current:link {
color:#ec008c;
background-color: inherit;
padding: 0 8px;
}
#nav-header a.current:hover {
color:#ec008c;
background-color: inherit;
padding: 0 8px;
}
/* ### Sub Navigation ######################################################### */
#nav {
display:block;
float:left;
width:300px;
height:425px;
background:url(bg_nav.jpg) repeat-y;
}
#nav p.copy,
#nav p {
padding-right:20px;
color:#fff;
background: inherit;
text-align: right;
}
#nav p.copy a,
#nav p.copy a:link {
color: #fff;
background: inherit;
text-decoration: none;
}
#nav p.copy a:hover {
color: #fff;
background: inherit;
text-decoration: underline;
}
/* Navigation horizontal and vertical -
Wenn nur die Navigation mit der ID 2 verwendet wird, kann alles bis
zum nächsten Kommentar gelöscht werden
-------------------------------------------------------------------------------*/
#navheight_vert {
min-height: 425px;
}
* html body #navheight_vert { height: 425px; } /* IE 6 / 5.5 Hack */
#navheight_vert ul.nav1st { padding:10px 20px; }
/* ### nav1st - first level navigation ######################################## */
ul.nav1st {
padding:0px 20px;
font-size:1.2em;
text-transform:uppercase;
}
ul.nav1st li {
display: block;
padding:3px 0;
color:#00aeef;
background: inherit;
font-weight:bold;
text-align: right;
}
ul.nav1st a,
ul.nav1st a:link {
display: block;
color:#00aeef;
background: inherit;
padding: 1px 0;
}
ul.nav1st a:hover {
color:#fff;
background: inherit;
padding: 1px 0;
}
ul.nav1st li a.current,
ul.nav1st li a.current:link {
color:#fff;
background: inherit;
padding: 1px 0;
}
ul.nav1st li a.current:hover {
color:#fff;
background: inherit;
padding: 1px 0;
}
/* ### nav2nd - second level navigation ######################################### */
ul.nav2nd {
margin: 0 0 10px 0;
font-size:1em;
font-weight:normal;
text-transform:none;
}
ul.nav2nd li {
padding:0;
margin:0;
font-weight:normal;
border:none;
text-align: right;
}
ul.nav2nd a,
ul.nav2nd a:link {
display:block;
padding:4px 17px 4px 10px;
background-image:url(button.gif);
background-position:158px 8px;
background-repeat: no-repeat;
}
ul.nav2nd a:hover {
padding:4px 17px 4px 10px;
background-image:url(button.gif);
background-position:158px -12px;
background-repeat: no-repeat;
background-color:#c4d4dc;
color:#00aeef;
}
ul.nav2nd li.active a,
ul.nav2nd li.active a:link {
padding:4px 17px 4px 10px;
background-image:url(button.gif);
background-position:158px -32px;
background-repeat: no-repeat;
background-color:#c4d4dc;
color:#00aeef;
}
/* ### Breadcrump Navigation #################################################### */
#sitePath {
float:left;
padding-left:20px;
color:#c4d4dc;
background: inherit;
}
#sitePath a, #sitePath a:link {
color:#c4d4dc;
background: inherit;
text-transform:none;
}
#nav {
display:block;
float:left;
width:295px;
height:425px;
background:url(bg_nav.jpg) repeat-y;
}
#nav-header {
position:absolute;
left:302px;
top:300px;
}
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
<![endif]-->Zurück zu Templates/Navigationen [R4]
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste