Binary
Neues Mitglied
Hallo zusammen,
mein HTML-Code
Mein CSS-Code
Meine Aufgabe: Ecken abruden.
Mein Problem: Viele Beispiele ausprobiert aber diese passen nicht auf die Struktur meiner Tabelle bzw. ich bin nicht fähig sie anzupassen.
Jemand eine Idee?
Vielen Dank und viele Grüße
Edit: Lösung:
table.round {
\-moz-border-radius: 0.5em;
}
mein HTML-Code
HTML:
<table style="text-align: left; width: 100%;" rules=none>
<tbody>
<tr>
<td class="border"><div id="img_life_story"><img src="img/Lebensabschnitt-Studium.png"></div>
<center><div id="caption_life_story1">Studium</div></center>
</td>
<td class="border">
<table border="0" width=100% bgcolor="#EFECE8"; rules=none>
<tr>
<td class="style1"><img src="img/schirm.png"> Vorsorge </th>
</tr>
<tr>
<td class="style">Berufsunfähigkeitsversicherung <img src="img/check.png"></td>
</tr>
<tr>
<td class="style1"><img src="img/health.png"> Gesundheit</th>
</tr>
<tr>
<td class="style">Auslandskrankenversicherung <img src="img/cross.png"></td>
</tr>
<tr>
<td class="style1"><img src="img/safety.png"> Versicherung </th>
</tr>
<tr>
<td class="style">Hausratversicherung <img src="img/check.png"></td>
</tr>
<tr>
<td class="style1"><img src="img/percentage.png"> Finanzierung </th>
</tr>
<tr>
<td class="style">Studienfinanzierung <img src="img/cross.png"></td>
</tr>
</table>
<center><div id="caption_life_story2">Relevante Themen</div></center>
</td>
</tr>
</tbody>
</table>
Code:
#caption_life_story1
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
padding-top:12px;
font-weight: bold
}
#caption_life_story2
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
font-weight: bold
}
#img_life_story
{
padding-top:23px;
}
#img_vorsorge
{
padding-left:3px;
}
td.border {
border:0px solid white;
}
td.style {
color: #35637D;
font-size: 11px;
text-align:right;
}
td.style1 {
color: #8B7B62;
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
border-radius:25px;
}
Mein Problem: Viele Beispiele ausprobiert aber diese passen nicht auf die Struktur meiner Tabelle bzw. ich bin nicht fähig sie anzupassen.
Jemand eine Idee?
Vielen Dank und viele Grüße
Edit: Lösung:
table.round {
\-moz-border-radius: 0.5em;
}
Zuletzt bearbeitet: