Need help for exam
Posted: Wed 12. Jan 2005, 14:25
Hi all.
I have run into some CSS trouble and I can't seem to solve it. I need to make this page for an exam and after having made a CSS file, this is the result I get:

This is my CSS file:
This is the html file: http://www.hum.aau.dk/~jkkv02/insomnia/ ... /index.htm
The problem is only in Firefox, IE works fine.
Do you have ANY idea how to solve my problem? Any help would be greatly appreciated!
/Kvist
I have run into some CSS trouble and I can't seem to solve it. I need to make this page for an exam and after having made a CSS file, this is the result I get:

This is my CSS file:
Code: Select all
body {
padding:0 0 0 0;
margin:5 5 5 5;
font-size:12;
font-family:'Tahoma','Verdana';
background:#FFFFFF;
color:#000000;
}
h1 {
color:#003399;
font-family:arial;
font-size:16;
font-variant:small-caps;
}
h2 {
color:#000000;
font-size:14;
font-family:arial;
font-variant:small-caps;
}
h3 {
color:#808080;
font-size:12;
font-family:arial;
}
a {
font-weight: bold;
text-decoration: underline;
color:#808080;
font-variant:small-caps;
font-family:arial;
}
a:hover {
color:#FFC600;
text-decoration:underline;
font-variant:small-caps;
font-family:arial;
}
#kilde {
font-style:italic;
font-size:11;
font-family:'Tahoma','Verdana';
color:#000000;
float:right;
}
#kilde a {
font-weight:normal;
text-decoration: underline;
color:#808080;
font-variant:normal;
font-family:arial;
}
#kilde a:hover {
color:#FFC600;
text-decoration:underline;
font-variant:normal;
font-family:arial;
}
#indhold {
z-index: 1;
padding:20px;
border-left: 1px solid #FFC600;
left:25%;
top:0px;
position:absolute;
}
#menu {
z-index: 2;
width: 20%;
left:1%;
margin:500 500 500 500;
top:0px;
position:absolute;
}
table {
font-size:12;
font-family:'Tahoma','Verdana';
background:#FFFFFF;
color:#000000;
}
The problem is only in Firefox, IE works fine.
Do you have ANY idea how to solve my problem? Any help would be greatly appreciated!
/Kvist