![]() |
[HTML] Tabelle: valign
Hi, warum wird bei folgendem code die innere tabelle (zumindest im IE) trotzdem oben angezeigt, nicht wie angegeben in der mitte der tabelle?
Code:
das valign=middle sollte das doch eigentlich bewirken?!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="middle"><table width="650" height="300" border="1" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table></td> </tr> </table> </body> </html> edit: problem gefunden: warum ist die äußere tabelle trotz height=100% keine 100% hoch? |
Re: [HTML] Tabelle: valign
Zitat:
![]() |
Re: [HTML] Tabelle: valign
aber wie könnte man das ganze dann realisieren? eine tabelle mit fester größe, die egal bei welcher auflösung immer in der mitte des screens angezeigt wird?
|
Re: [HTML] Tabelle: valign
Versuch es mal so:
Code:
Gruß, Onz
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table style="height: 100%; width: 100%; border: none;" cellpadding="0" cellspacing="0"> <tr style="height: 100%; width: 100%;"> <td style="height: 100%; width: 100%;vertical-align: middle; text-align: center"><table width="650" height="300" border="1" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table></td> </tr> </table> </body> </html> |
Re: [HTML] Tabelle: valign
gleiches problem
|
Re: [HTML] Tabelle: valign
Schau dir mal onz24.de/geistesblitz an. Da geht das.
Gruß P.S. Gib mal die URL |
Re: [HTML] Tabelle: valign
jetzt hab ichs: bei dir (onz24.de) steht das ganze im body, bei mir wars im table tag!
*MFG* |
Re: [HTML] Tabelle: valign
Gut, dann geht ja nun alles :)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:52 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz