Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Größe einstellen bei einer table

Empfohlene Antworten

Hi

Ich habe folgendes problem, und zwar generiere ich mir eine tabelle nur irgendwie wird die mir viel zu hoch und mit dem Befehl height will die auch nicht kleiner werden woran kann das liegen???

poste mal das stück code, möglicherweise hast du was übersehen, oder so.

OK hier ist der code

<html><head></head>

<style type="text/css">

.td {

width: 100%;

height: 50%;

padding: 0px;

}

</style>

<body><table border="0px" width="100%" height="50px" cellpadding="0px" cellspacing="0px">

<?

for ($i=0;$i<10;$i++){

echo "<tr>";

for ($x=0;$x<10;$x++){

echo '<td><table height="50px" border="1" width="100%" border="0px" cellpadding="0px" cellspacing="0px">';

for ($z=0;$z<4;$z++){

echo "<tr>";

for ($y=0;$y<4;$y++){

echo "<td><br></td>";

}

echo "</tr>";

}

echo "</table></td>";

}

echo "</tr>";

}

?></table></body></html>

Und das einzige was nicht geht ist die Höhe zu ändern :(

Ich habe jetzt bei height das px weggelassen aber das macht auch kein unterschied

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.