1. #1
    Sabe's Avatar
    Registered
    20/07/02
    Location
    Edegem
    Posts
    3,709
    iTrader
    2 (100%)
    Mentioned
    0 Post(s)
    Reputation
    0/0

    HTML: Hoe dit te centreren in de hoogte?

    Code:
    <html>
    <head>
    <title>instant_grunge</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#838383" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <table id="Table_01" width="751" height="564" border="0" cellpadding="0" cellspacing="0" align="center">
    	<tr>
    		<td colspan="4" rowspan="5">
    			<img src="images/index_01.jpg" width="325" height="332" alt=""></td>
    		<td colspan="7">
    			<img src="images/index_02.jpg" width="425" height="94" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="94" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="6">
    			<img src="images/index_03.jpg" width="340" height="47" alt=""></td>
    		<td rowspan="11">
    			<img src="images/index_04.jpg" width="85" height="469" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="47" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="2" rowspan="3">
    			<img src="images/index_05.jpg" width="10" height="191" alt=""></td>
    		<td colspan="3">
    			<img src="images/index_06.jpg" width="318" height="76" alt=""></td>
    		<td rowspan="7">
    			<img src="images/index_07.jpg" width="12" height="277" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="76" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="3">
    			<img src="images/index_08.jpg" width="318" height="11" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="11" alt=""></td>
    	</tr>
    	<tr>
    		<td rowspan="5">
    			<img src="images/index_09.jpg" width="159" height="190" alt=""></td>
    		<td rowspan="5">
    			<img src="images/index_10.jpg" width="16" height="190" alt=""></td>
    		<td rowspan="5">
    			<img src="images/index_11.jpg" width="143" height="190" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="104" alt=""></td>
    	</tr>
    	<tr>
    		<td rowspan="6">
    			<img src="images/index_12.jpg" width="130" height="118" alt=""></td>
    		<td colspan="2">
    			<img src="images/index_13.jpg" width="156" height="13" alt=""></td>
    		<td colspan="2" rowspan="6">
    			<img src="images/index_14.jpg" width="40" height="118" alt=""></td>
    		<td rowspan="6">
    			<img src="images/index_15.jpg" width="9" height="118" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="13" alt=""></td>
    	</tr>
    	<tr>
    		<td rowspan="4">
    			<img src="images/index_16.jpg" width="10" height="78" alt=""></td>
    		<td>
    			<img src="images/index_17.jpg" width="146" height="29" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="29" alt=""></td>
    	</tr>
    	<tr>
    		<td>
    			<img src="images/index_18.jpg" width="146" height="22" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="22" alt=""></td>
    	</tr>
    	<tr>
    		<td rowspan="2">
    			<img src="images/index_19.jpg" width="146" height="27" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="22" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="4" rowspan="2">
    			<img src="images/index_20.jpg" width="330" height="32" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="5" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="2">
    			<img src="images/index_21.jpg" width="156" height="27" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="27" alt=""></td>
    	</tr>
    	<tr>
    		<td colspan="5">
    			<img src="images/index_22.jpg" width="326" height="113" alt=""></td>
    		<td colspan="5">
    			<img src="images/index_23.jpg" width="339" height="113" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="113" alt=""></td>
    	</tr>
    	<tr>
    		<td>
    			<img src="images/spacer.gif" width="130" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="10" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="146" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="39" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="9" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="159" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="16" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="143" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="12" height="1" alt=""></td>
    		<td>
    			<img src="images/spacer.gif" width="85" height="1" alt=""></td>
    		<td></td>
    	</tr>
    </table>
    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>
    Waar moet ik nu het stukje code zetten om het geheel van de site in de hoogte te centreren??
    Tis dus de 2de tabel die in de eerste tabel gecentreerd moet worden in hoogte
    Kweetet tis premade html van die Photoshop slice
    ...
    no votes  

  2. #2

    Registered
    18/11/02
    Location
    Eke, Belgiƫ
    Posts
    2,448
    iTrader
    0
    Mentioned
    0 Post(s)
    Reputation
    0/0
    <table height="100%" width="100%">
    <tr valign="center"><td>

    binnenste tabel

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

    't is slechte code, maar het zou moeten werken, toch zeker in IE.
    no votes  

  3. #3
    Zero Grav's Avatar
    Registered
    06/06/04
    Location
    Bilzen
    Posts
    8,805
    iTrader
    18 (100%)
    Mentioned
    0 Post(s)
    Reputation
    42/128
    kuch, sabe, wat zei ik u?
    no votes  

  4. #4
    Sabe's Avatar
    Registered
    20/07/02
    Location
    Edegem
    Posts
    3,709
    iTrader
    2 (100%)
    Mentioned
    0 Post(s)
    Reputation
    0/0
    da edde gij ni ZO gezegt ;D
    ...
    no votes  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in