I looked into this a bit more, here is an alternate stylesheet that makes this layout work in other browsers as well as IE:
Code:
<style type="text/css">
body {
background-color:#F5D388;
scrollbar-face-color:#f5d388;
scrollbar-highlight-color:#f5c55c;
scrollbar-3dlight-color:#f3ede0;
scrollbar-darkshadow-color:#f5c55c;
scrollbar-shadow-color:#f3ede0;
scrollbar-arrow-color:#502800;
scrollbar-track-color:#f3ede0;
}
#bg {
position:relative;
width:820px;
height:520px;
background-image: url(afbeeldingen/bg.jpg);
border:0px;
font-family:"verdana","arial","helvetica","sans-serif";
font-size:12px;
color:#502800;
margin:5% auto;
}
* html #bg {
top:expression(Math.max(document.documentElement.clientHeight/2-260, 0)+'px');
}
#logo {
position:relative;
width:200px;
height:100px;
}
#tekst {
position:relative;
width:770px;
height:300px;
background-color:transparent;
text-align:left;
overflow:auto;
}
#menu {
position:relative;
width:820px;
margin-left:8px;
}
#menu a {
display:block;
float:left;
}
#dropmenudiv {
position:absolute;
z-index:1;
}
</style>
It requires a DOCTYPE for the page:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Wat U bedoelt - tekstbureau, tekstschrijven, teksttrainingen, laten schrijven, leren schrijven</TITLE>
These changes to the script:
Code:
var menuwidth='150px' //default menu width
var menubgcolor='transparent' //menu bgcolor
And the width parameter used here and similar should be 150px:
Code:
onMouseover="dropdownmenu(this, event, menu1, '200px')"
not 200px as shown.
Bookmarks