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

Problem mit tabelle

pr0bl3mk1nd

Neues Mitglied
hallo, ich hab mir ein vorgefertigtes css template geladen und versuche nun, es an meine bedürfnisse anzupassen.

mein problem liegt nun darin, dass ich eine tabelle gestalten will, doch style undattribute wie rules oder cellpadding funktionieren nicht.

Ich vermute, dass diese datei diese attribute "ausschaltet" nur ich weiß nicht genau was ich ändern muss.

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td
{
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}


body
{
line-height: 1;
}


a { text-decoration: none; }


ol, ul
{
list-style: none;
}


blockquote, q
{
quotes: none;
}


blockquote:before, blockquote:after, q:before, q:after
{
content: '';
content: none;
}


:focus
{
outline: 0;
}


ins
{
text-decoration: none;
}


del
{
text-decoration: line-through;
}


table
{
border-collapse: collapse;
border-spacing: 0;
}


/* Clear Bug Fix */


.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
 
Hi,
wenn oben gezeigter Code deine eigenen Style angaben überschreibt ("ausschaltet"), musst du obige Datei vor deiner CSS-Datei im HTML Dokument einbinden, somit überschreibst du dann die Style Angaben der reset.css

Aktuell wird obiger CSS Code wohl nach deinem Stylesheet eingebunden und überschreibt somit natürlich deinen Code, deswegen muss die Reihenfolge der CSS Dateien geändert werden.
 
Zurück
Oben