hej
Jeg har lavet en css fil men jeg har bare et problem når jeg tjekker css i firefox er selve siden i midten som den skal være, men når jeg tjekker den i internet eksplorer er den ude i venstre siden.
se evt.
http://jstenbaek.brinkster.net/admindex.asp i begge browser !!
Håber der er nogle der kan hjælpe mig !!
*
{
margin: 0em;
padding: 0em;
}
a
{
color:black;
text-decoration: underline;
}
a:hover
{
text-decoration: none;
color: #cccccc;
}
body
{
background-image: url('images/background.gif');
background-repeat: repeat-x;
color: #37371E;
font-family: georgia, serif;
font-size: 10pt;
}
#outer
{
width: 860px;
margin-left: auto;
margin-right: auto;
margin-top: 1.0em;
background-color:#ffffff;
padding: 1.0em;
border-top: solid 1px #ffffff;
margin-bottom: 1.0em;
align: center;
}
#outer2
{
border: dotted 1px #cccccc;
padding: 1.0em;
}
#banner
{
background-image: url('images/skakbanner.png');
background-repeat: repeat-x;
color: #ffffff;
height: 10em;
line-height: 5em;
padding: 0.8em;
border-bottom: solid 1px #ffffff;
}
#menu
{
background: white ;
height: 1.9em;
border: solid 3px #cccccc
}
table.menu
{
font-size:100%;
position:absolute;
visibility:hidden;
background: white;
border: solid 2px #cccccc
}
a.menu
{
text-decoration: none;
font-family: georgia, serif;
}
#menu li
{
Display: inline;
Font-weight: bold;
}
#menu li a
{
padding: 1.55em;
}
#footer
{
border-top: dashed 1px #cccccc;
padding-top: 1.0em;
font-size: 0.90em;
color: #cccccc
}
<html>
<head>
<link rel="stylesheet" type="text/css" href="default.css" />
<script type="text/javascript">
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}
</script>
</head>
<body>
<div id="outer">
<div id="outer2">
<div id="banner">
</div>
<div id="menu">
<table>
<tr bgcolor="#FFFFFF">
<td class="menu"><li><a class="menu" href="index.htm">Forside</a></li></td>
<td onmouseover="showmenu('Om os')" onmouseout="hidemenu('Om os')">
<li><a class="menu">Om os</a></li><br>
<table class="menu" id="Om os">
<tr><td class="menu"><a class="menu" href="Info.htm">Info</a></td></tr>
<tr><td class="menu"><a class="menu" href="kontakt.htm">Her finder du os</a></td></tr>
<tr><td class="menu"><a class="menu" href="Ratingliste.asp">Ratingliste</a></td></tr>
</table>
</td>
<td onmouseover="showmenu('Turneringer')" onmouseout="hidemenu('Turneringer')">
<li><a class="menu">Turneringer</a></li><br>
<table class="menu" id="Turneringer">
<tr><td class="menu"><a class="menu" href="holbaekopen.htm">Holbæk Open</a></td></tr>
<tr><td class="menu"><a class="menu" href="pricewaterhousecup.htm">Pricewaterhouse Cup</a></td></tr>
</table>
</td>
<td onmouseover="showmenu('Aktiviteter')" onmouseout="hidemenu('Aktiviteter')">
<li><a class="menu">Aktiviteter</a></li><br>
<table class="menu" id="Aktiviteter">
<tr><td class="menu"><a class="menu" href="skoleskak.htm">Skoleskak</a></td></tr>
<tr><td class="menu"><a class="menu" href="programmer.htm">Programmer</a></td></tr>
</table>
</td>
<td class="menu"><li><a class="menu" href="Links.htm">Links</a></li></td>
<td onmouseover="showmenu('Bruger')" onmouseout="hidemenu('Bruger')">
<li><a class="menu">Bruger</a></li><br>
<table class="menu" id="Bruger">
<tr><td class="menu"><a class="menu" href="tilmeld.asp">Tilmeld turnering</a></td></tr>
<tr><td class="menu"><a class="menu" href="rediger.asp">Rediger profil</a></td></tr>
</table>
</td>
<td class="menu"><li><a class="menu" href="Login.asp">Login</a></li></td>
</tr>
</table>
</div>
</br>
<h1>Administrationssystem</h1><br>
<p><h3> - Brugerredigering - </h3></p><br>
<p><a href="nymedlem.htm">Opret nyt medlem</a></p>
<p><a href="opdatere.asp">Redigere medlem</a></p>
<p><a href="sletning1.asp">Slet medlem</a></p>
<p><a href="admlogout.asp">logout</a></p>
<div id="footer">
<p align="center">Copyright © Holbæk Skakklub</p>
</div>
</body>
</html>