Okay, sinds kort bevat het forum ook syntax highlighting support voor CSS 
Goed, hij is gebaseerd om de CSS 2.1 sppecificatie, en er is een vrij goede kans dat er nog wat onvolkomenheden inzitten. Hij herkent in principe alle properties en een aantal bekende waarden.
Genoeg geluld, hieronder post in een stukje van het testbestand dat ik heb gebruikt. Of het hele zinvolle CSS is maakt niet zo heel veel uit, het gaat om de syntax.
Hier zitten de CSS goeroe's, en dat zullen we laten weten ook! Laten we eens kijken of we de highlighter op zijn knieën kunnen krijgen.
Goed, hij is gebaseerd om de CSS 2.1 sppecificatie, en er is een vrij goede kans dat er nog wat onvolkomenheden inzitten. Hij herkent in principe alle properties en een aantal bekende waarden.
Genoeg geluld, hieronder post in een stukje van het testbestand dat ik heb gebruikt. Of het hele zinvolle CSS is maakt niet zo heel veel uit, het gaat om de syntax.
Hier zitten de CSS goeroe's, en dat zullen we laten weten ook! Laten we eens kijken of we de highlighter op zijn knieën kunnen krijgen.
Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
| /* GENERAL */ html { color: #fff; background-color: #c6c1b4; } body { position: relative; margin: 0; padding: 0; } body, td, th, input, textarea { font: normal 13px arial, helvetica, sans-serif; color: #000; } input, select, textarea { background-color: #fff; } a { color: #000; text-decoration: none; } a:hover { color: #c00042; text-decoration: underline; } a img { border: 0 solid; } p { margin: 13px 0; } @charset "iso-8859-1"; html { color: #4D483C; background-color: #F8F8F8; font-size: 75%; font-family: verdana, arial, sans-serif; line-height: 150%; } body { width: 760px; margin: 0 auto; padding: 0; } @import url(piet.css) { } /* -------------------------------- */ h1, h2 { font-family: georgia, palatino linotype, serif; font-weight: normal; } h1 { color: #336699; background-color: inherit !important; font-size: 190%; line-height: 110%; } h2 { color: #999966; background-color: inherit; font-size: 145%; } p { margin-top: 0; } /* -------------------------------- */ a:link, a:visited { color: #003366; background-color: inherit; text-decoration: none; } a:hover, a:active { text-decoration: underline; } /* -------------------------------- */ #content { margin: 0; padding: 0 15px; border-width: 1px; border-style: solid; border-color: #CCCCCC; color: #4D483C; background-color: #FFFFFF; } /* -------------------------------- */ .nav { margin: 2px 15px; text-align: right; } .nav ul { margin: 0; padding: 0; } .nav ul li { display: inline; margin: 0 .4ms 0 0; padding: 0; list-style-type: none; background-image: url("ieps.css"); } .nav ul li.bypass { left: 0; display: none; background-color: ThreeDFace; } /* ------------ .nav ul li.bypass { display: none; } -------------------- */ em { color: rgb(255,0,0) } samp { font-family: verdana, arial, sans-serif; text-transform: lowercase; } |