css ahref's
css ahref's
- Started
- Last post
- 4 Responses
- warheros
can i make different styles for different links in the same css document?
do i do it like this?
a:link#1 { } ?? and then do < a class=1 href=" " > ?
- warheros0
nm, figured it out.
- ifThenGo0
.className1 a:link {}
.className1 a:visited {}
.className1 a:active {}
.className1 a:hover {}
.className2 a:link {}
.className2 a:visited {}
.className2 a:active {}
.className2 a:hover {}
- ifThenGo0
Also remember that you can re style HTML tags;
body a:link {}
body a:visited {}
body a:hover {}
body a:active {}h1 a:link {}
h1 a:visited {}
h1 a:hover {}
h1 a:active {}Makes for more manageable, tidier code.
- warheros0
excellent, thanks for the extra info