Archivlink: javarea.de Forum > (X)HTML & CSS (allgemein) > Problem mit Tabelle
Vollständigen Link anzeigen: javarea.de Forum > (X)HTML & CSS (allgemein) > Problem mit Tabelle

Pages: [1]

geschrieben von alexdüsentrieb am 26.08.2001 - 21:25
Hallo,
wie kriege ich das hin, also das alles auf einer linie ist
hier ist der Code



HTML-Quelltext
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
32: 
33: 
34: 
35: 
36: 
37: 
38: 
39: 
40: 
41: 
42: 
<html>
<head>
	<title>Motoren</title>
</head>
<LINK href="style1.css" type=text/css 
rel=stylesheet>
<body>
<style>
.tabelfont {
	color: #000000;
	text-decoration:none;
	font-family:arial;
	font-size:13;}
</style>
<body>
<body bgcolor="#ffffff" aLink="#0000FF" vLink="#0000FF" link="#0000FF">
<body><br><br><table border="0" cellspacing="0" width="90%" align="center">
<tr><td width="100%" bgcolor="#BEAB73">
<table border="0" cellpadding="4" cellspacing="1" width="100%"><tr>
<td width="100%" bgcolor="#BEAB73"><font face="arial" color="ffffff" size="2"><b>» Motoren</b></span></td>
</tr></table></td></tr></table><br><table border="0" cellspacing="0" width="90%" align="center">
<tr><td width="100%" bgcolor="#000000">
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>
<td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=center>
<p class=tabelfont><b>» 1,4 16V, 62 kW</b></td></table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>
<td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=center>
<p class=tabelfont><b>» 1,4 16V, 76 kW</b></table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>	
<td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=center>
<p class=tabelfont><b>» 1,6 16V</b></table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>
</td><td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=center>
<p class=tabelfont><b>» 1,8</b><br></b></table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>
<td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=center>
<p class=tabelfont><b>» 1,8 VI</b></table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" align=center>
<td border="0" cellpadding="1" cellspacing="0" width="10%" bgcolor="f7f7f7" align=middle>
<p class=tabelfont><b>» 2,0 iDT</b></table>
</body>
</html>


vielen dank im vorraus

geschrieben von Gast am 26.08.2001 - 23:16
ich geh mal davon aus das dieser Code mit einem CGI,PHP Script geschrieben wurde, denn reiner HTML macht soetwas nicht.

den HTML Code bekommst du gerade, wenn du am besten nur ein:

echo" hier deine Tabellen ";

einsetzt....

geschrieben von Gast am 27.08.2001 - 13:49
Ich verstehe die Frage noch nicht ganz!

Was genau soll auf einer Linie sein?
Übrigens ein body tag reicht ... besser gesagt drei machen Fehlermeldungen!

geschrieben von Gast am 27.08.2001 - 15:58
hi Alex,

hoffe das ich das richtig verstanden habe.

HTML-Quelltext
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
32: 
33: 
34: 
35: 
36: 
37: 
38: 
39: 
40: 
41: 
42: 
43: 
44: 
45: 
46: 
47: 
48: 
49: 
50: 
51: 
<html>
<head>
<title>Motoren</title>

<link rel="stylesheet" href="style1.css" type="text/css">

<style type="text/css">
<!--
.tabelfont {
	color: #000000;
	text-decoration: none;
	font-family: arial;
	font-size: 13;
}
//-->
</style>

</head>
<body bgcolor="#FFFFFF" aLink="#0000FF" vLink="#0000FF" link="#0000FF">

<br><br>

<table align="center" border="0" cellpadding="5" cellspacing="0" width="90%">
  <tr>
    <td bgcolor="#BEAB73"><font face="arial" color="ffffff" size="2"><b>» Motoren</b></td>
  </tr>
</table>

<br>

<table border="0" cellpadding="1" cellspacing="0" align="center" width="90%">
  <tr>
    <td bgcolor="#000000">

	  <table border="0" cellpadding="0" cellspacing="1" width="100%">
	    <tr class="tabelfont" bgcolor="F7F7F7" align="center">
	      <td width="18%" height="23"><b>» 1,4 16V, 62 kW</b></td>
	      <td width="18%"><b>» 1,4 16V, 76 kW</b></td>
	      <td width="16%"><b>» 1,6 16V</b></td>
	      <td width="16%"><b>» 1,8</b></td>
	      <td width="16%"><b>» 1,8 VI</b></td>
	      <td width="16%"><b>» 2,0 iDT</b></td>
	    </tr>
	  </table>

    </td>
  </tr>
</table>

</body>
</html>

geschrieben von Gast am 27.08.2001 - 17:21
hmm.. nicht ganz

trotzdem danke, das problem hat sich schon erledigt,
danke an alle die geholfen haben

mfg
alex


Powered by: JBB v.2.0.4 Copyright ©2000-2006, www.javarea.de.