Nieuw lid |
|
Ik wil een table hebben die 100% van men scherm inneemt. In Opera en Firefox werkt het, maar in IE6 worden er aan de linkerkant en onderkant een aantal witte regels gelaten.
Kan iemand me helpen zodat die toch heel de pagina kan innemen?
Dit is de code die ik nu gebruik:
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body onload="window.defaultStatus='Belgian Virtual Tigers';">
<table height="100%" width="101%" border="0" cellspacing="0" style="position:absolute; top:0px; left:0px; right=0px; bottom:0px;">
<tr>
<td rowspan="3" width="120" height="100%" bgcolor="#6699cc">
Nav
</td>
<td height="122" bgcolor="#ffcc00">
Top
</td>
</tr>
<tr>
<td bgcolor="#006699">
Site
</td>
</tr>
<tr>
<td bgcolor="#006699">
banner
</td>
</tr>
</table>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title></title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body onload="window.defaultStatus='Belgian Virtual Tigers';"> <table height="100%" width="101%" border="0" cellspacing="0" style="position:absolute; top:0px; left:0px; right=0px; bottom:0px;"> <tr> <td rowspan="3" width="120" height="100%" bgcolor="#6699cc"> Nav </td> <td height="122" bgcolor="#ffcc00"> Top </td> </tr> <tr> <td bgcolor="#006699"> Site </td> </tr> <tr> <td bgcolor="#006699"> banner </td> </tr> </table> </body> </html>
|