Mal wieder ich....Nochmal Abstand inhalb einer Tabelle
Daniel...mal wieder
- css
0 AndreD0 comunicout
Mist, da ist von dem Quelltext etwas verloren gegangen. So sollte er aussehen:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Sonnet---Solution for 6.3</title>
<style type="text/css">
body {
background-color:
black;
margin-left: 30px;
}
h2{
font-weight: bold;
font-size: 20pt;
color: white;
font-family: helvetica;
}
h1
{
color: white;
font-weight: bold;
font-size: 14pt;
font-family: times new roman;
}
table
{
border: 2px White solid;
padding : 20px;
background-color: blue;
width: 400px;
margin-bottom: 20px;
clip: rect( );
margin-top: 20px
}
</style>
</head>
<body>
<table>
<tr>
<td><h2>Sonnet---Solution for 6.3</h2>
<h1 class="Sonnet">
Look in thy glass and tell the face thou viewest<br>
Now is the time that face should form another;<br>
Whose fresh repair if now thou not renewest,<br>
Thou dost beguile the world, unbless some mother.<br>
For where is she so fair whose unear'd womb<br>
Disdains the tillage of thy husbandry?<br>
Or who is he so fond will be the tomb,<br>
Of his self-love to stop posterity?<br>
Thou art thy mother's glass and she in thee<br>
Calls back the lovely April of her prime;<br>
So thou through windows of thine age shalt see,<br>
Despite of wrinkles this thy golden time.<br>
But if thou live, remember'd not to be,<br>
Die single and thine image! dies with thee.<p></p>
</h1>
</td>
</tr>
</table>
</body>
</html>
Wie kann man den nun ziwschen dem oberen Rahmen der Tabelle und dem <h2> einen Abstand von 20 px erzeugen?
CU
Daniel
Hallo,
Mist, da ist von dem Quelltext etwas verloren gegangen. So sollte er aussehen:
Kein Grund das Forum mit Doppelpostings vollzuspammen! Bleib bitte in Deinem ersten Posting. Die Leute dort haben Dir doch schon recht gut geholfen?
Gruss AndreD
in der td folgendes -> style="top-margin: 20px;"
warum denn jetzt auf einmal einen oberen abstand.. was mit dem linken.. ? Hilfe ?!?10