Thread CSS Klassen bilden: .navtab->a (2 answers)
Opened by pktm at 2003-09-27 12:29

format_c
 2003-09-27 15:32
#24751 #24751
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Also ich würde das getrennt machen.
Immer Klassen explizit dafür anlegen wofür man sie auch verwenden will.
So schleichen sich weniger unerklärliche Fehler ein und man gerät nicht so schnell in Namensnot.
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
a	  { color : #37496D; }
a:link { color : #37496D; text-decoration : none; }
a:visited { color : #37496D; text-decoration : none; }
a:hover { color : #37496D; text-decoration : underline; }
a:active { color : ò¢°ª text-decoration : underline; }

/* Links der Klasse test */
a.test { color : � }
a.test:link { color : � text-decoration : none; }
a.test:visited { color : � text-decoration : none; }
a.test:hover { color : േ text-decoration : underline; }
a.test:active { color : #ffe080; text-decoration : underline; }

/*Standardschrift des Bodies*/
body {fontsize: 12px; font-family: arial,helvecita; font-color: 񑘕 font-weight: normal;}

/*Standard Style für Tabellen */
table, tr, td {font-size: 13px;....}

/*Style für eine spezielle Tablellenzeil Zeile*/
tr.test {font-size: 12px;....}

/*Style für einen InputField */
input.test {color: � background:'images/image.gif';}


So ungefähr tät ich einen Stylesheet aufbauen.

Gruß Alex

View full thread CSS Klassen bilden: .navtab->a