azkme
Legacy Member
Hey,
ik ondervind een degoutant probleem met de layout van mijn project (asp). In Firefox toont hij de pagina zoals ik wil, maar in IE weigert hij dienst te doen
ik zit te sukkelen met de height-attributen, en ik weet niet waarom hij het niet zou doen ..
http://users.telenet.be/azkme/pics/firefox.jpg
http://users.telenet.be/azkme/pics/ie.jpg
Iemand een idee? Alvast bedankt!
ik ondervind een degoutant probleem met de layout van mijn project (asp). In Firefox toont hij de pagina zoals ik wil, maar in IE weigert hij dienst te doen
ik zit te sukkelen met de height-attributen, en ik weet niet waarom hij het niet zou doen ..http://users.telenet.be/azkme/pics/firefox.jpg
http://users.telenet.be/azkme/pics/ie.jpg
Iemand een idee? Alvast bedankt!

Code:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="default.master.cs" Inherits="_default" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="Opmaak/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="../Opmaak/menu.js">
</script>
<title>Tumbador VZW</title>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" id="hoofd">
<tr>
<td id="header">
<script type="text/javascript" language="JavaScript">
function random_imglink(){
var myimages=new Array()
myimages[1]="images/header1.jpg"
myimages[2]="images/header2.jpg"
myimages[3]="images/header3.jpg"
myimages[4]="images/header4.jpg"
myimages[5]="images/header5.jpg"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<div align="center"><img src="'+myimages[ry]+'" border=0></div>')
}
random_imglink()
</script></td>
</tr>
<tr>
<td><br />
<table width="100%" height="100%" border="0" cellpadding="10" cellspacing="0">
<tr>
<td id="menu"><asp:contentplaceholder id="cph2" runat="server"></asp:contentplaceholder>
<asp:Label ID="lblWelkom" runat="server"></asp:Label><asp:Label ID="lblLogout" runat="server" ></asp:Label><br />
<asp:Label ID="lblMenu" runat="server"></asp:Label></td>
<td id="content"><asp:contentplaceholder id="cph" runat="server"></asp:contentplaceholder></td>
</tr>
</table><br />
</td>
</tr>
<tr>
<td id="bottom"> </td>
</tr>
</table>
</body>
</html>
Code:
html, body
{
height: 100%;
}
body
{
font-family: Tahoma;
font-size: 12px;
background-color: #FFFFFF;
margin: 0px;
padding: 0px;
margin-left: 0px;
margin-top: 0px;
}
table {
padding: 0px;
margin: 0px;
}
.inputmenu
{
border-width: 0px;
font-family: Tahoma;
font-size: 12px;
border-color: #000000;
background-color: #E1ECF4;
}
#hoofd
{
width: 100%;
height: 100%;
}
#header
{
background-image: url('../images/header_background.jpg');
height: 200px;
vertical-align: top;
position: relative;
}
#menu
{
text-align: right;
border-right: dotted;
border-width: 1px;
border-color: gray;
width: 200px;
vertical-align: top;
}
#content
{
vertical-align: top;
}
#bottom
{
background-image: url('../images/bottom_background.jpg');
height: 50px;
vertical-align: bottom;
position: relative;
}
.titel
{
color: #292E58;
font-weight: bold;
}
a:link {color: gray; text-decoration: none;}
a:visited {color: gray; text-decoration: none;}
a:hover {color: #292E58; text-decoration: none;}
a:active {color: gray; text-decoration: none;}
#nav, #nav ul, #nav ul ul{
padding: 0px;
margin: 0px;
list-style: none;
background: url(none.gif) repeat 0 0;
font-family: Tahoma;
font-size: 12px;
}
#nav{
width: 100px;
}
#nav li{
width: 100px;
}
#nav ul{
position: absolute;
width: 100px;
left: -1000px;
margin: -22px 0 0 100px;
font-size: 100%;
}
* html #nav ul{
margin: -23px 0 0 100px;
}
#nav li li{
width: 100px;
background-color: #E1ECF4;
}
#nav ul ul{
width: 140px;
margin: -22px 0 0 100px;
font-size: 100%;
}
* html #nav ul ul{
margin: -23px 0 0 100px;
}
#nav li li li{
width: 140px;
}
#nav li:hover ul, #nav li.ie_does_hover ul{
left: auto;
}
#nav li:hover ul ul, #nav li.ie_does_hover ul ul{
left: -1000px;
}
#nav ul li:hover ul, #nav ul li.ie_does_hover ul{
left: auto;
}
#nav a {
display: block;
text-decoration: none;
padding: 2px 4px 3px 4px;
margin: 1px;
}
a.sublink {
text-align:left;
}
a.link
{
text-align:right;
}
#nav a:link, #nav a:visited{
background: #FFFFFF;
border: 0px solid #494980;
color: gray;
}
#nav a:hover, #nav a:active{
background: #292E58;
border: 0px solid #494980;
color: #FFFFFF;
}
