• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

tablle mit css

Status
Für weitere Antworten geschlossen.

xXxPeterPanxXx

Neues Mitglied
hi ich bin anfänger,
und habe mich grad an css rangetraut.

Nun weiss ich nicht wie man eine tabelle so macht das sie mehrere zellen hat.Ich wäre echt dankbar wenn ihr den code mir geben könntet(ohne schnickschnack)
Danke in Voraus

Mfg xXxPeterPanxXx;-)
 
Tabellen erstellt man nicht mit css sondern mit html
PHP:
<table>
 <tr>
  <td>1.Reihe 1. Zelle</td>
  <td>1. Reihe 2. Zelle</td>
 </tr>
 <tr>
  <td>2.reihe 1.Zelle</td>
  <td>2.reihe 2. zelle</td>
 </tr>
</table>
 
Dann hast du etwas falsch gemacht.
Kopier malden Code
PHP:
<html>
 <head>
  <title>
  </title>
 </head>
 <body>
  <table>
   <tr>
    <td>1.Reihe 1. Zelle</td>
    <td>1. Reihe 2. Zelle</td>
   </tr>
   <tr>
    <td>2.reihe 1.Zelle</td>
    <td>2.reihe 2. zelle</td>
   </tr>
  </table> 
 </body>
</html>
In den Editor und speicher unter tabelle.html
 
Die Tabelle aber natürlich nur für tabellarische Daten, nicht fürs Layout, wie man sicher noch auf etlichen, alten Tutorials gesagt bekommt...!
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben