Hallo Leute,
ich habe ne Seite fast fertig gestellt, die sieht im Safari und Firefox gut aus.. aber der IE erkennt die Schrift "Trebuchet MS" und die Schrift im Menü gar nicht :/
Habe zum Beispiel eingegeben das die Headlines 50 Punkt gross sein sollen und die werden nicht richtig interpretiert....
Kennt jemand abhilfe? :*
Hier der Code von den 2 Css Dateien:
main.css
content.css
ich habe ne Seite fast fertig gestellt, die sieht im Safari und Firefox gut aus.. aber der IE erkennt die Schrift "Trebuchet MS" und die Schrift im Menü gar nicht :/
Habe zum Beispiel eingegeben das die Headlines 50 Punkt gross sein sollen und die werden nicht richtig interpretiert....
Kennt jemand abhilfe? :*
Hier der Code von den 2 Css Dateien:
main.css
Code:
/*
möp
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header,
hgroup, menu, nav, section, menu,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
*/
body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
/* maxvoltar.com/archive/-webkit-font-smoothing */
html { -webkit-font-smoothing: antialiased; }
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }
a, a:active, a:visited { color:#607890; }
a:hover { color:#036; }
ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }
small { font-size:85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
padding: 15px;
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
white-space: pre; /* CSS2 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}
/* align checkboxes, radios, text inputs with their label
by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
/* These selection declarations have to be separate.
No text-shadow: twitter.com/miketaylr/status/12228805301
Also: hot pink. */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }
/* always force a scrollbar in non-IE */
html { overflow-x: hidden; }
/* make buttons play nice in IE:
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button { width: auto; overflow: visible; }
/* bicubic resizing for non-native sized IMG:
code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }
span.reference{
font-family:Arial;
position:fixed;
top:10px;
padding-right:10px;
font-size:10px;
}
span.reference a{
color:#fff;
text-transform:uppercase;
text-decoration:none;
text-shadow:1px 1px 1px #000;
margin-left:20px;
}
span.reference a:hover{
color:#ddd;
}
span.menueunten{
font-family:Arial;
font-size:10px;
}
span.menueunten a{
color:#fff;
text-transform:uppercase;
text-decoration:none;
text-shadow:1px 1px 1px #000;
margin-left:20px;
}
span.menueunten a:hover{
color:#ddd;
}
#top_strip{
height:4px;
background:#9ca34e;
position:fixed;
width:100%;
top:0;
display:block;
z-index: 100000;
}
#top_strip:after { content: "."; }
#containeralles{
position: absolute;
left: 50%;
width: 1920x;
height: 11500px;
margin: 0 0 0 -960px;
}
#container1{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_01.jpg);
background-repeat:no-repeat;
}
#container2{
margin:0 auto;
width:1920px;
height:1269px;
background-image:url(../images/bg_02.jpg);
background-repeat:no-repeat;
}
#container3{
margin:0 auto;
width:1920px;
height:1267px;
background-image:url(../images/bg_03.jpg);
background-repeat:no-repeat;
}
#container4{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_04.jpg);
background-repeat:no-repeat;
}
#container5{
margin:0 auto;
width:1920px;
height:1271px;
background-image:url(../images/bg_05.jpg);
background-repeat:no-repeat;
}
#container6{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_06.jpg);
background-repeat:no-repeat;
}
#container7{
margin:0 auto;
width:1920px;
height:1261px;
background-image:url(../images/bg_07.jpg);
background-repeat:no-repeat;
}
#container8{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_08.jpg);
background-repeat:no-repeat;
}
#container9{
margin:0 auto;
width:1920px;
height:1320px;
background-image:url(../images/bg_09.jpg);
background-repeat:no-repeat;
}
#container{
margin:0 auto;
width:960px;
}
#container_werbung{
margin:0 auto;
width:960px;
}
#container_onair{
margin:0 auto;
width:960px;
}
#container_web{
margin:0 auto;
width:960px;
}
#container_print{
margin:0 auto;
width:960px;
}
#container_kontakt{
margin:0 auto;
width:960px;
}
#container_philosophie{
margin:0 auto;
width:960px;
}
#container_kunden{
margin:0 auto;
width:960px;
}
#container_impressum{
margin:0 auto;
width:960px;
}
#section_header{
float:left;
width:10%;
margin: 66px 0 0 33px;
position:fixed;
}
footer{width:100%;background:#9ca34e;clear:both;position:fixed;bottom:0;}
#footer_centered{width:960px;margin:0px auto; color:#fff;font-family:Arial;font-size:10pt;text-transform:uppercase;text-decoration:none;text-shadow:1px 1px 1px #000;}
#footer_centered h3{font-weight:bold;float:left;padding:10px;}
#footer_centered p{font-weight:normal;float:left;padding:10px; margin:0 0 0 35px; width:750px;}
#footer_centered p li{list-style:none;}
#footer_centered p a{text-decoration:underline; color:#fff}
#footer_centered p a{text-decoration:none;}
.content_body {padding: 0; width:590px; margin-top: -0px; }
.item {margin-bottom: 600px; padding-top: 0px; clear: both;}
#menue_unten {
height: 20px;
width: 310px;
position: inherit;
padding-top:340px;
padding-left:390px;
}
content.css
Code:
@charset "UTF-8";
#c_home {
position: inherit;
height: 85px;
width: 465px;
padding-top:162px;
padding-left:170px;
}
#c_werbung {
position: inherit;
height: 100px;
width: 490px;
padding-top:240px;
padding-left:650px;
}
#c_onair {
position: inherit;
height: 100px;
width: 490px;
padding-top:240px;
padding-left:170px;
}
#c_web {
position: inherit;
height: 100px;
width: 490px;
padding-top:380px;
padding-left:170px;
}
#c_print {
position: inherit;
height: 100px;
width: 540px;
padding-top:320px;
padding-left:170px;
}
#c_kontakt {
position: inherit;
height: 100px;
width: 630px;
padding-top:280px;
padding-left:200px;
}
#c_philosophie {
position: inherit;
height: 100px;
width: 490px;
padding-top:380px;
padding-left:170px;
}
#c_kunden {
position: inherit;
height: 100px;
width: 490px;
padding-top:380px;
padding-left:170px;
}
#c_impressum {
position: inherit;
height: 100px;
width: 540px;
padding-top:550px;
padding-left:170px;
}
h6 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal; }
h7 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 47px;
font-style: normal; }
h8 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 37px;
font-style: normal; }
h9 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 51px;
font-style: normal; }
h10 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 21px;
font-style: normal; }
h11 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 29px;
font-style: normal; }
h12 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 35px;
font-style: normal; }
h13 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 59px;
font-style: normal; }
h14 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 41px;
font-style: normal; }
h15 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 23px;
font-style: normal; }