Zeilen umbruch
-
Hallo
Ich habe zwischen "Title" und und Text1 eine leere zeile. Woher kommt diese?
<body> <p class="table"> <table width="100%" > <tr> <td>19</td> <td>20</td> <td>21</td> <td>22</td> <td>23</td> <td>24</td> <td>25</td> </tr> </table> </p> <p class="location">Title</p> <p class="locationAdress">Text1<br></br>Text2</p> <a href="bericht">Locationbericht</a> <hr></hr> </body>
das css file sieht so aus
.table{ align: center; font-size: 6pt border: 1px; } .location{font-size:120%; font-family:'Times New Roman',Times,serif; font-weight:bold; line-height:1em;} .locationAdress{ font-style:italic line-height:1em; }
-
<p> macht einen neuen absatz
-
Ich dacht das <p> gehöre zu class
Irgendwie scheint das so nicht zu funktionieren
<class="locationAdress">test1<br></br>test2</class>
geht das so nicht?
-
hi schrieb:
<class="locationAdress">test1<br></br>test2</class>
geht das so nicht?Benutze div's:
<div class="locationAdres">test1</div><br />
Siehe auch: http://www.selfhtml.org
Caipi
-
Ich schlage vor du schaust dir erstmal die Grundlagen von HTML an, dann wirst du selbst erfahren, weshalb dort ein Zeilenumbruch ist und wie du Styles auf bestimmte Objekte anwendest. Mein vorredner hat die Seite ja bereits genannt
-
p { margin:0px; padding:0px; }