Skip to main content
Known Participant
January 16, 2018
Answered

Warum sehe ich in der Entwurfsansicht nichts?

  • January 16, 2018
  • 3 replies
  • 2410 views

Hallo, ich bin gerade dabei, Tabellenerstellung zu lernen und üben. Ich habe nun eine einfache Tabelle erstellt mit folgendem code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

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

<title>Test mit Tabellen</title>

</head>

<body>

</html><table width="700" height=400" border="1" bordercolor="#330000" cellspacing="0" cellpadding="0" bgcolor="#FFCCFF">

  <tr>

     </th><tr><td><table><tr><td>Hallo</td></tr></table></td>

  </tr>

</table>

</body>

</html>

Wenn ich aber auf die Entwurfsansicht gehe, sehe ich nichts.

Worin liegt die Ursache?

This topic has been closed for replies.
Correct answer WolfShade

It looks as if you have a closing HTML tag before the table.  Remove it, keeping the closing </html> tag at the bottom of your code, and test it.  It should work.

Es sieht so aus, als ob Sie vor der Tabelle ein schließendes HTML-Tag haben. Entfernen Sie es, halten Sie das schließende </ html> -Tag am unteren Rand Ihres Codes und testen Sie es. Es sollte funktionieren.

V/r,

^ _ ^

3 replies

Known Participant
January 16, 2018

Das habe ich übersehen, vielen Dank!

Known Participant
January 16, 2018

Und noch ein Problem tut sich auf: Wenn ich den Text vergrößern will und ich in der Menüleiste auf Text und dann im Dropdown Menü auf Größe ändern gehe, klappt zwar ein Änderungsvorschlag auf mit +1,+2... aber die Größen können nicht angeklickt werden.

WolfShade
Legend
January 16, 2018

If I am being honest, you really should not use the +1, +2 font size changes.  Those are deprecated and should be replaced with CSS (ie, 'font-size:20px;', and such as that.)

Wenn ich ehrlich bin, sollten Sie die Änderungen der Schriftgröße +1, +2 nicht verwenden. Diese sind veraltet und sollten durch CSS ersetzt werden (zB 'font-size: 20px;', und so).

V/r,

^ _ ^

Jon Fritz
Community Expert
Community Expert
January 16, 2018

sommerhitze  wrote

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

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

<title>Test mit Tabellen</title>

</head>

<body>

</html><table width="700" height=400" border="1" bordercolor="#330000" cellspacing="0" cellpadding="0" bgcolor="#FFCCFF">

  <tr>

     </th><tr><td><table><tr><td>Hallo</td></tr></table></td>

  </tr>

</table>

</body>

</html>

Wenn ich aber auf die Entwurfsansicht gehe, sehe ich nichts.

Worin liegt die Ursache?


You have 2 ending </html> tags, remove the first one.

WolfShade
WolfShadeCorrect answer
Legend
January 16, 2018

It looks as if you have a closing HTML tag before the table.  Remove it, keeping the closing </html> tag at the bottom of your code, and test it.  It should work.

Es sieht so aus, als ob Sie vor der Tabelle ein schließendes HTML-Tag haben. Entfernen Sie es, halten Sie das schließende </ html> -Tag am unteren Rand Ihres Codes und testen Sie es. Es sollte funktionieren.

V/r,

^ _ ^