Nieuw lid |
|
k, dan geen iframe, geeft niet maar weet niets van get functie :S
zou je me erbij kunnen helpen?
maar ik heb nu dit als pagina:
<html>
<head>
<title>WorldWide</title>
<LINK href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/nav1.js"></script>
</head>
<body bgcolor="#000000">
<div id="topbanner"><div id="topleftbanner"></div><div id="toprightbanner"></div></div>
<div id="middlebanner"><div id="middleleftbanner"></div><div id="middlerightbanner"></div></div>
<div id="bottombanner"><div id="bottomleftbanner"></div><div id="bottomrightbanner"></div></div>
<div id="left">
<img src="images/nav1.png" usemap="#nav" border="0" name="nav1">
<map name="nav">
<area shape="rect" coords="40,89,196,116" href="index.html" alt="Home" target="_top" onMouseOver="imageChange('nav1','alt1')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,129,196,156" href="download.html" alt="Download" target="_top" onMouseOver="imageChange('nav1','alt2')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,169,196,196" href="register.html" alt="Register" target="_top" onMouseOver="imageChange('nav1','alt3')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,209,196,236" href="changepw.html" alt="Change PW" target="_top" onMouseOver="imageChange('nav1','alt4')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,249,196,276" href="ranking.html" alt="Ranking" target="_top" onMouseOver="imageChange('nav1','alt5')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,290,196,317" href="donate.html" alt="Donate" target="_top" onMouseOver="imageChange('nav1','alt6')" onMouseOut="imageChange('nav1','alt0')" />
<area shape="rect" coords="40,330,196,357" href="team.html" alt="Team" target="_top" onMouseOver="imageChange('nav1','alt7')" onMouseOut="imageChange('nav1','alt0')" />
</map>
</div>
<div id="right">
<div id="topborder3"><div id="topleft3"></div><div id="topright3"></div></div>
<div id="middleborder3" style="clear:both;"><div id="middleleft3"></div><div id="middlemiddle3"><iframe src="News/Status.php" frameborder="0" height="78" width="100%" scrolling="no"></iframe></div><div id="middleright3"></div></div>
<div id="bottomborder3" style="clear:both;"><div id="bottomleft3"></div><div id="bottomright3"></div></div>
</div>
</body>
</html>
<LINK href="css/style.css" rel="stylesheet" type="text/css"> <div id="middlebanner"><div id="middleleftbanner"></div><div id="middlerightbanner"></div></div> <div id="bottombanner"><div id="bottomleftbanner"></div><div id="bottomrightbanner"></div></div> <img src="images/nav1.png" usemap="#nav" border="0" name="nav1"> <area shape="rect" coords="40,89,196,116" href="index.html" alt="Home" target="_top" onMouseOver="imageChange('nav1','alt1')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,129,196,156" href="download.html" alt="Download" target="_top" onMouseOver="imageChange('nav1','alt2')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,169,196,196" href="register.html" alt="Register" target="_top" onMouseOver="imageChange('nav1','alt3')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,209,196,236" href="changepw.html" alt="Change PW" target="_top" onMouseOver="imageChange('nav1','alt4')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,249,196,276" href="ranking.html" alt="Ranking" target="_top" onMouseOver="imageChange('nav1','alt5')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,290,196,317" href="donate.html" alt="Donate" target="_top" onMouseOver="imageChange('nav1','alt6')" onMouseOut="imageChange('nav1','alt0')" /> <area shape="rect" coords="40,330,196,357" href="team.html" alt="Team" target="_top" onMouseOver="imageChange('nav1','alt7')" onMouseOut="imageChange('nav1','alt0')" /> <div id="middleborder3" style="clear:both;"><div id="middleleft3"></div><div id="middlemiddle3"><iframe src="News/Status.php" frameborder="0" height="78" width="100%" scrolling="no"></iframe></div><div id="middleright3"></div></div> <div id="bottomborder3" style="clear:both;"><div id="bottomleft3"></div><div id="bottomright3"></div></div>
(hier is efbeelding ervan: http://i114.pho...oos1-3.jpg)
men javascript en css file werken perfect.
dus nu zou ik graag tussen <div id="left"> en <div id="right"> een div willen die dus de ovirige ruimte tussen left en right inneemt (naar gelang de schermresolutie) en dat het vanzelf aanpast aan de inhoud. (ook de inhoud de breedte van de div)
die middelste div had ik ook graag hetzelfde opgebouwd als mijn rechtse maar kan nooit laten meebewegen met scherm en als ik er iets in zet trekt het op niets.
dit is trouwens mijn css
#topbanner {
background-image: url("../images/banner-top.png");
background-repeat: x-repeat;
width: 100%;
height: 52px;
position: relative;
float: left;
}
#topleftbanner {
background-image: url("../images/banner-top-left.png");
background-repeat: no-repeat;
width: 23px;
height: 52px;
position: relative;
float: left;
}
#toprightbanner {
background-image: url("../images/banner-top-right.png");
background-repeat: no-repeat;
width: 23px;
height: 52px;
position: relative;
float: right;
}
#middlebanner {
background-image: url("../images/header.jpg");
background-repeat: no-repeat;
background-position: center;
width: 100%;
height: 91px;
position: relative;
float: left;
}
#middleleftbanner {
background-image: url("../images/banner-left.png");
background-repeat: y-repeat;
width: 18px;
height: 100%;
position: relative;
float: left;
}
#middlerightbanner {
background-image: url("../images/banner-right.png");
background-repeat: y-repeat;
width: 18px;
height: 100%;
position: relative;
float: right;
}
#bottombanner {
background-image: url("../images/banner-bottom.png");
background-repeat: x-repeat;
width: 100%;
height: 52px;
position: relative;
float: left;
}
#bottomleftbanner {
background-image: url("../images/banner-bottom-left.png");
background-repeat: no-repeat;
width: 23px;
height: 52px;
position: relative;
float: left;
}
#bottomrightbanner {
background-image: url("../images/banner-bottom-right.png");
background-repeat: no-repeat;
width: 23px;
height: 52px;
position: relative;
float: right;
}
#left {
width: 235px;
height: 446px;
float: left;
}
#right {
width: 222px;
position: relative;
float: right;
}
#topborder3 {
background-image: url("../images/top1server.png");
background-repeat: x-repeat;
background-position: 74px;
height: 84px;
position: relative;
width: 222px;
float: left;
}
#topleft3 {
background-image: url("../images/top-left3S.png");
background-repeat: no-repeat;
width: 74px;
height: 84px;
position: relative;
float: left;
}
#topright3 {
background-image: url("../images/top-right1.png");
background-repeat: no-repeat;
width: 49px;
height: 84px;
position: relative;
float: right;
}
#middleborder3 {
width: 222px;
height: 15px;
position: relative;
float: left;
}
#middleleft3 {
background-image: url("../images/middle-left1.png");
background-repeat: y-repeat;
width: 31px;
height: 50px;
position: relative;
float: left;
}
#middlemiddle3 {
width: 162px;
position: relative;
float: left;
height: 15px;
color: #000000;
text-align: left;
margin-top: -30px;
margin-left: -2px;
}
#middleright3 {
background-image: url("../images/middle-right1.png");
background-repeat: y-repeat;
width: 29px;
height: 50px;
position: relative;
float: right;
}
#bottomborder3 {
background-image: url("../images/bottom1.png");
background-repeat: x-repeat;
height: 77px;
width: 222px;
}
#bottomleft3 {
background-image: url("../images/bottom-left1.png");
background-repeat: no-repeat;
width: 31px;
height: 77px;
position: relative;
float: left;
}
#bottomright3 {
background-image: url("../images/bottom-right1.png");
background-repeat: no-repeat;
width: 102px;
height: 77px;
position: relative;
float: right;
}
#topbanner { background-image: url("../images/banner-top.png"); background-repeat: x-repeat; width: 100%; height: 52px; position: relative; float: left; } #topleftbanner { background-image: url("../images/banner-top-left.png"); background-repeat: no-repeat; width: 23px; height: 52px; position: relative; float: left; } #toprightbanner { background-image: url("../images/banner-top-right.png"); background-repeat: no-repeat; width: 23px; height: 52px; position: relative; float: right; } #middlebanner { background-image: url("../images/header.jpg"); background-repeat: no-repeat; background-position: center; width: 100%; height: 91px; position: relative; float: left; } #middleleftbanner { background-image: url("../images/banner-left.png"); background-repeat: y-repeat; width: 18px; height: 100%; position: relative; float: left; } #middlerightbanner { background-image: url("../images/banner-right.png"); background-repeat: y-repeat; width: 18px; height: 100%; position: relative; float: right; } #bottombanner { background-image: url("../images/banner-bottom.png"); background-repeat: x-repeat; width: 100%; height: 52px; position: relative; float: left; } #bottomleftbanner { background-image: url("../images/banner-bottom-left.png"); background-repeat: no-repeat; width: 23px; height: 52px; position: relative; float: left; } #bottomrightbanner { background-image: url("../images/banner-bottom-right.png"); background-repeat: no-repeat; width: 23px; height: 52px; position: relative; float: right; } #left { width: 235px; height: 446px; float: left; } #right { width: 222px; position: relative; float: right; } #topborder3 { background-image: url("../images/top1server.png"); background-repeat: x-repeat; background-position: 74px; height: 84px; position: relative; width: 222px; float: left; } #topleft3 { background-image: url("../images/top-left3S.png"); background-repeat: no-repeat; width: 74px; height: 84px; position: relative; float: left; } #topright3 { background-image: url("../images/top-right1.png"); background-repeat: no-repeat; width: 49px; height: 84px; position: relative; float: right; } #middleborder3 { width: 222px; height: 15px; position: relative; float: left; } #middleleft3 { background-image: url("../images/middle-left1.png"); background-repeat: y-repeat; width: 31px; height: 50px; position: relative; float: left; } #middlemiddle3 { width: 162px; position: relative; float: left; height: 15px; color: #000000; text-align: left; margin-top: -30px; margin-left: -2px; } #middleright3 { background-image: url("../images/middle-right1.png"); background-repeat: y-repeat; width: 29px; height: 50px; position: relative; float: right; } #bottomborder3 { background-image: url("../images/bottom1.png"); background-repeat: x-repeat; height: 77px; width: 222px; } #bottomleft3 { background-image: url("../images/bottom-left1.png"); background-repeat: no-repeat; width: 31px; height: 77px; position: relative; float: left; } #bottomright3 { background-image: url("../images/bottom-right1.png"); background-repeat: no-repeat; width: 102px; height: 77px; position: relative; float: right; }
|