Webstatt.org - Community seit 2006 - 2012 (2024?)

Conditional Comments wollen nicht

Avatar user-129
29.01.2007 18:17

Vielleicht kann mir ja jemand erklären warum meine Conditional Comments nicht funktionieren?

.default a{
/*====================================================
CSS here affects all menu item anchors (parentItem,
subItem_1, subItem_2, etc..)
Settings here can be overriden by adding css to other
anchor classes - eg, to override font of sub item 1:
.default .subItem_1 {
font-familiy: sans-serif;
font-size: 15px;
}
======================================================*/
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
font-style : normal;
width : 164px;
text-decoration : none;
display : block;
white-space : normal;
position : relative;
border-bottom : solid 2px #CCCCCC;
padding : 5px 15px 5px 30px;
margin : 0px 0px 0px 0px; /*-1 px stops adjacent borders looking like 2 pixels width*/
}

<!--[if IE 7]>
.default a {
font-size : 19px;
}
<![endif]-->


Gruß & user-158ke
Ben

user-157
29.01.2007 18:25

Weil die Conditional Comments nicht in die CSS Datei kommen, sondern in die HTML Datei.

For more click here.

asdf!
Avatar user-129
29.01.2007 18:31

upps...danke