Grafische beginner |
|
<div align="center">
<div id="page">
<div id="tabs"> </div>
<div id="header"> </div>
<div id="navigation_left">
<div id="menu">Menu</div>
<li></li>
</div>
<div id="navigation_right"> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
<div id="mid_bg"> </div>
</div>
</div>
<div align="center"> <div id="page"> <div id="tabs"> </div> <div id="header"> </div> <div id="navigation_left"> <div id="menu">Menu</div> <li></li> </div> <div id="navigation_right"> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div> <div id="mid_bg"> </div> </div> </div>
dit staat in de html
en dit in de css:
body
{
background-color: #666666;
margin: 0px 0px 0px 0px;
height: 100%;
}
#page
{
position: relative;
width: 779px;
}
#tabs
{
position: absolute;
top: 0px;
left: 0px;
height: 521px;
width: 15px;
background-image: url(../lay_out/tabs.gif);
background-repeat: no-repeat;
}
#header
{
position: absolute;
top: 0px;
left: 15px;
height: 118px;
width: 764px;
background-image: url(../lay_out/header.jpg);
background-repeat: no-repeat;
}
#navigation_left
{
position: absolute;
top: 118px;
left: 15px;
width: 100px;
background-image:url(../lay_out/nav_bg.gif);
background-repeat: repeat-y;
}
#navigation_right
{
position: absolute;
top: 118px;
left: 679px;
width: 100px;
background-image:url(../lay_out/nav_bg.gif);
background-repeat: repeat-y;
}
#menu
{
width: 100px;
height: 14px;
background-image:url(../lay_out/menu.jpg);
background-repeat: no-repeat;
text-align: center;
color: #000000;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
#mid_bg
{
position: absolute;
top: 118px;
left: 115px;
right: 115px;
bottom: 0px;
width: 563px;
height: 100%;
background-image: url(../lay_out/mid_bg.gif);
background-repeat: repeat-y;
}
body { background-color: #666666; margin: 0px 0px 0px 0px; height: 100%; } #page { position: relative; width: 779px; } #tabs { position: absolute; top: 0px; left: 0px; height: 521px; width: 15px; background-image: url(../lay_out/tabs.gif); background-repeat: no-repeat; } #header { position: absolute; top: 0px; left: 15px; height: 118px; width: 764px; background -image : url (../lay_out /header.jpg );background-repeat: no-repeat; } #navigation_left { position: absolute; top: 118px; left: 15px; width: 100px; background-image:url(../lay_out/nav_bg.gif); background-repeat: repeat-y; } #navigation_right { position: absolute; top: 118px; left: 679px; width: 100px; background-image:url(../lay_out/nav_bg.gif); background-repeat: repeat-y; } #menu { width: 100px; height: 14px; background-image:url(../lay_out/menu.jpg); background-repeat: no-repeat; text-align: center; color: #000000; font-weight: bold; font-family: Arial, Helvetica, sans-serif; font-size: 12px; } #mid_bg { position: absolute; top: 118px; left: 115px; right: 115px; bottom: 0px; width: 563px; height: 100%; background-image: url(../lay_out/mid_bg.gif); background-repeat: repeat-y; }
volgens mij heb ik gedaan wat moest, ik wil zegmaar de div mid_bg doorlaten lopen tot de bodem. |