DaveCuppen
Gebruiker
- Lid geworden
- 11 jan 2008
- Berichten
- 49
Hallo allemaal,
Ik heb de volgende pagina, zie code:
Deze pagina zag ik graag gecentreerd staan in mijn browsers, maar heb al verschillende zaken geprobeerd met CSS, maar tot op heden is mij niks gelukt
Ik hoop op jullie hulp in deze, misschien dat 1 van jullie het antwoord op mijn vraag weet?
Alvast vriendelijk bedankt
Gr.
Dave
Ik heb de volgende pagina, zie code:
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Sitenaam</title>
<link href="site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.iframe-auto-height.plugin.js"></script>
<div id="center">
<div style="position: absolute; top: 0px; left: 0px; width: 240px; height: 460px; background-image: url(images/website_home_01.jpg); background-repeat: no-repeat; font-family: Arial; font-size: 11px; font-stretch: ultra-condensed; font-weight: lighter;">
<div style="position: absolute; top: 234px; left: 40px; font-family: Arial; font-size: 12px; font-stretch: ultra-condensed; font-weight: normal; color: #FFFFFF;">Onze collectie</div>
<div class="leftmenu">
<a href="http://www.website.nl/" target="_blank" style="position: absolute; top: 282px; left: 40px;">website</a>
<a href="http://www.website.com/" target="_blank" style="position: absolute; top: 299px; left: 40px;">website</a>
<a href="http://www.website.com/" target="_blank" style="position: absolute; top: 317px; left: 40px;">website</a>
<a href="http://www.website.com/" target="_blank" style="position: absolute; top: 335px; left: 40px;">website</a>
<a href="http://www.website.be/" target="_blank" style="position: absolute; top: 353px; left: 40px;">website</a>
<a href="http://www.oni-onik.be/" target="_blank" style="position: absolute; top: 371px; left: 40px;">Oni-Onik</a>
<a href="http://www.website.com/" target="_blank" style="position: absolute; top: 389px; left: 40px;">website</a>
<a href="website2.html" target="content" style="position: absolute; top: 420px; color: #FFFFFF; left: 40px;">meer websites</a>
</div>
</div>
<div id="flash">
<td>
<object type="application/x-shockwave-flash" data="header.swf" width="540" height="460" style="left: 240px; top: 0px; position: absolute;">
<param name="movie" value="header.swf" />
<embed src="header.swf"
width="540" height="460" name="uits" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
</td>
</div>
<iframe src="home.html" style="position: absolute; top: 460px; left: 0px; width: 780px;"
height="100%" name="content" frameborder="0"
marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div>
</body>
</body>
</html>
Deze pagina zag ik graag gecentreerd staan in mijn browsers, maar heb al verschillende zaken geprobeerd met CSS, maar tot op heden is mij niks gelukt
Ik hoop op jullie hulp in deze, misschien dat 1 van jullie het antwoord op mijn vraag weet?
Alvast vriendelijk bedankt
Gr.
Dave