...

View Full Version : Problem with CSS on Opera and IE7.



Kromgol
07-20-2008, 08:53 PM
Hey people,

I got some problems on Opera and IE7 with my website, as everything is everywhere on those browsers, my site is [/url]manganation.se.nu[/url] on swedish, but just look at the design in Opera and IE7.

My CSS is:



.stil1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 24px;
}
.stil2 {
font-size: 22px;
font-family: Arial, Helvetica, sans-serif;
}
.stil3 {
font-size: 22px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.stil5 {font-size: 10px}
.stil7 {font-size: 11px}
a:link {
color: #8EB3EF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #8EB3EF;
}
a:hover {
text-decoration: none;
color: #f7cf15;
}
a:active {
text-decoration: none;
}
.stil8 {
font-family: Verdana, Arial, Helvetica, sans-serif
}
.stil9 {
font-size: 22px
}
.stil10 {
font-size: 14px
}


body
{
background-image: url(images/paper2.png);
margin-top:0px;
margin-left:0px;
}

.bildram2 {
padding: 5px;
border: 1px solid #c0c0c0;
}

#Div1 {
position:absolute;
background-color:#FFFFFF;
top:192px;
left:282px;
width:506px;
padding:5px;
border:#000000 1px solid;
}

#Navigation {
position:absolute;
background-color: #FFFFFF;
top:192px;
left:125px;
padding:2px;
border:#000000 1px solid;
}

#Utbytet {
position:absolute;
top:0px;
left:810px;
padding:0px;
}

#Copyright {
position:absolute;
background-color: transparent;
top:600px;
padding:2px;
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
left: 0px;
}

#Nyhet {
text-align:justify;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
padding:3px;
margin-top:3px;
margin-bottom:5px;
border-top:1px solid #D3D3D3;
}

I do indeed got a "layout image" made in photoshop, but it's mostly the brushes and the header.
Now i wonder why these browser won't show it right ? As everything is accurate according to W3.

Fast reply REALLY REALLY appreciated.

Thank you.
/Kromgol

effpeetee
07-21-2008, 07:53 PM
How do you expect it to be cross-browser without a Doctype?

This is what I get (http://exitfegs.co.uk/21z.html)with an xhtml frameset Doctype.

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum