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.

Tabellenproblem

Empfohlene Antworten

Veröffentlicht

Hallo,

ich soll für einen Verein eine Webseite machen welche so aussieht: Link.

Habe mich ein wenig veruscht, habe aber ein Problem mit meinen Tabellen. Die haben immer einen Rahmen, obwohl ich border auf 0 gesetzt habe. Zudem sind in Tabellenfelder eingefügt Bilder nicht ganz oben bzw. ganz unten. Ist immer ein Abstand zwischen. Wieso? Hier ist ein mein Code

<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="100%" height="100%" border="0">
<tr>
<td height="24" colspan="4" bgcolor="fd620d"></td>
</tr>
<tr>
<td width="68" rowspan="3" bgcolor="fd620d"></td>
<td width="27" height="63"><img src="images/kurve_oben_orange.png" width="80" height="80"></td>
<td colspan="2"></td>
</tr>
<tr>
<td height="495"></td>
<td></td>
<td rowspan="2" align="right" valign="bottom"> </td>
</tr>
<tr>
<td height="53"><img src="images/kurve_unten_orange.png" width="80" height="80"></td>
<td width="547"></td>
</tr>
<tr align="left" valign="middle">
<td height="95" bgcolor="fd620d"> </td>
<td height="95" colspan="3" bgcolor="fd620d"> </td>
</tr>
</table>
</body>
</html>[/php]

Und hier das ganze mal zum anschauen. Ich hoffe mir kann einer weiterhelfen.

Liebe Grüße, Sabine


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

die Farbe würde ich anders wählen.

Wiebitte? Ich verstehe nicht was Du meinst.

Gruß Sabine

Was verstehst du nicht Sabine?

cellspacing = Abstand der Zellen untereinander,

cellpadding = Innenabstand von Zellenrand zu Zelleninhalt


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

die Farbe würde ich anders wählen.

Hi Sabine,

gib einfach mal deiner Tabelle die cellpadding/cellspacing eigenschaft mit Wert = "0" wie Manitu beschrieben hat.

Was er mit der Farbe jetzt im Bezug auf diesen Code meint kann ich direkt auch nicht sagen, aber das Layout an sich finde ich auch nicht sehr ansprechend....

Gruß,

Markus

mit der Farbe ist wohl gemeint, dass wenn man die RGB-Farbwerte in hexadezimaler Schreibweise angibt, sollte man auch eine # vor schreiben

gruss

aber das Layout an sich finde ich auch nicht sehr ansprechend....

Ich auch nicht. Aber Gottes WIlle ist sein Himmelreich. Sie wollen es so.

Das mit dem cellpadding & cellspacing mache ich dann mal.

Danke, Bine

yepp zirri :)

@Markus

das mit der Farbe war auch nur nebenbei gemeint :)

aber man muß sich halt immer nach der Kundschaft richten.

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.