Scholieren.com forum

Scholieren.com forum (https://forum.scholieren.com/index.php)
-   Software & Hardware (https://forum.scholieren.com/forumdisplay.php?f=20)
-   -   de gehele pagina centreren (https://forum.scholieren.com/showthread.php?t=12549)

annegarn14 23-12-2001 16:28

de gehele pagina centreren
 
www.vvnoordwijk.nl/denieuwste.htm

ehhm zoals je kan zien is aan de rechter kant een gapend dat

nou wil ik mijn gehele pagina centreren hoe doe ik dat??

MilieuGaatVoor 23-12-2001 16:40

gooi alles in een table:

<table border="0" cellpadding="0" cellspacing="0" align="center"><tr><td>

...pagina...

</td></tr></table>

zoals je ziet staat er in de table-tag hierboven 'align="center"', wat zorgt dat het zootje gecentreerd wordt. oke?

annegarn14 23-12-2001 16:55

Nee, lukt niet

-=Odysseus=- 23-12-2001 17:51

Citaat:

Socratesss schreef:
gooi alles in een table:

<table border="0" cellpadding="0" cellspacing="0" align="center"><tr><td>

...pagina...

</td></tr></table>

zoals je ziet staat er in de table-tag hierboven 'align="center"', wat zorgt dat het zootje gecentreerd wordt. oke?

Je code klopt niet. Met jouw code centreer je de tabel. Je moet 'align=center' in de <td> stoppen.

hier dit is de code die je moet hebben
Code:

<html>

<head>
<meta http-equiv="Content-Language" content="nl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Home</title>
</head>

<body background="background.gif">
<table border="0" cellpadding="0" cellspacing="0" align="center"><tr><td align=center>

<table border="0" cellspacing="0" width="77%" cellpadding="0">
  <tr>
    <td width="100%"><img border="0" src="http://www.vvnoordwijk.nl/Logo4_copy.gif" width="680" height="161"></td>
  </tr>
</table>
<table border="0" cellspacing="0" width="685" cellpadding="0">
  <tr>
    <td width="15%"><img border="0" src="navi_up.gif" width="172" height="20"></td>
    <td width="85%"></td>
  </tr>
  <tr>
    <td width="15%" background="navi_midden.gif">
      <p align="center">
<img border="0" src="home.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="nieuws.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="hoofdklassea.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="jeugd.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="info.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="historie.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="sponsoring.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="routebeschrijving.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="forum.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="gastenboek.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="links.gif" width="146" height="18"><br>
<img border="0" src="line.gif" width="151" height="7"><br>
<img border="0" src="contact.gif" width="146" height="18">
<img border="0" src="line.gif" width="151" height="7">
      <table border="0" cellspacing="0" width="100%">
        <tr>
          <td width="100%">
          </td>
        </tr>
        <tr>
          <td width="100%">
           
          <p>
          <br>
          <br>
          <br>
          <br>
          </p>
          </td>
        </tr>
      </table>
    </td>
    <td width="85%">
      <table border="0" cellspacing="0" width="100%" cellpadding="0">
        <tr>
          <td width="9%"></td>
          <td width="191%" bgcolor="#000000">
            <p align="center"><b><font size="2" face="Arial" color="#FFFFFF"> 
            Home;  <!--webbot bot="Timestamp" startspan S-Type="EDITED"
            S-Format="%A %d %B %Y %H:%M" -->donderdag 20 december 2001 18:32<!--webbot
            bot="Timestamp" i-CheckSum="10498" endspan -->
            laatste update</font></b></p>
          </td>
        </tr>
        <tr>
          <td width="9%"></td>
          <td width="191%" bgcolor="#FFFFFF">
            <table border="1" cellspacing="0" width="100%" bordercolor="#000000" cellpadding="0">
              <tr>
                <td width="100%"><br>
                  <br>
                  <br>
                  <br>
                  <p> </p>
                  <p><br>
                  <br>
                  <br>
                   <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<table border="0" cellspacing="0" width="788" cellpadding="0">
  <tr>
    <td width="5%" background="navi_midden.gif"> </td>
    <td width="2500" bgcolor="#000000">
      <img border="0" src="http://www.vvnoordwijk.nl/onderaanlogotje.gif" width="40" height="40"></td>
    <td width="2500" bgcolor="#000000">
      <p align="right"><font color="#FFFFFF" size="1" face="Arial"><b>VV
      Noordwijk officiële homepage<br>
      © vvnoordwijk</b></font></td>
    <td width="750"></td>
  </tr>
</table>
<table border="0" cellspacing="0" width="100%" cellpadding="0">
  <tr>
    <td width="50%"><font face="Arial Black" size="1"><img border="0" src="navi_down.gif" width="172" height="20"></font></td>
    <td width="50%"></td>
  </tr>
</table></td></tr></table>

</body>

</html>


KIXd3 23-12-2001 21:35

Geheel vanaf body gewoon in table zetten , en dan table centreren

MilieuGaatVoor 24-12-2001 12:03

Citaat:

-=Odysseus=- schreef:
*lange code en terechte kritiek op reply van socratesss*

you're right, forgotten http://forum.scholieren.com/smile.gif


Chimera 24-12-2001 14:09

Waarom een table? Voor zo iets heb je de <div> tag.

Harrie 24-12-2001 14:34

Citaat:

Chimera schreef:
Waarom een table? Voor zo iets heb je de <div> tag.


sterker nog.. je kan gewoon <CENTER> na de body intypen..

MilieuGaatVoor 24-12-2001 21:26

Citaat:

Harrie schreef:
sterker nog.. je kan gewoon <CENTER> na de body intypen..
kan ook, en </center> voor </body> (of </div> voor </body> )
maar het voordeel van een table is euh, nou vanalles, maar het ligt eraan hoe de site is ingedeeld (scalable of vaste breedte enzow)

verder hebbe jullie gelijk..


Alle tijden zijn GMT +1. Het is nu 22:20.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.