Dennis: PHP Variabeln Problem

Beitrag lesen

Hi Tom, Hi André,

[...Syntax-Highlighting...]

geht das nur bei Dir, oder ist es ein Forums-Feature?

Das geht bei jedem, du musst nur a) das Highlighting aktiviert haben und b) ein Stylesheet haben. Ich habe zur Zeit ein Inline Style Sheet drin:

code[title=php] {
  background:#E9E9E9;
}
code[title=php] .variable {
  font-weight:bold;
  color:#000000;
}
code[title=php] .keyword {
  font-weight:bold;
  color:#0000ff;
}
code[title=php] .string {
  color:#008080;
}
code[title=php] .operator {
  color:#ff0000;
}
code[title=php] .comment {
  color:#008000;
}
code[title=php] .number {
  color:#008000;
}
code[title=html] {
  background:#ffffff;
  color:#000000;
}
code[title=html] .tag {
  color:#000080;
}
code[title=html] .name {
  color:#000080;
}
code[title=html] .attribute {
  color:#000080;
} code[title=html] .value {
  color:#0000ff;
}
code[title=html] .comment {
  color:#808080;
}

Für PHP und HTML Code (Perl brauche ich nicht *g*) - funktioniert wegen dem [title=php] natürlich nicht im Internet Explorer, aber den nutze ich ja nicht :-P

Könnten wir da nicht überhaupt mal eine "Online-Hilfe-Seite" gebrauchen, oder gibt es die schon?
Aber bitte nur einen Klick entfernt *gg*

Das sind z.Z. glaube ich noch mehr so "Insider Infos", so wie CK mir auch sagte, dass man den Live Filter auf RSS anwenden kann. ;-)

Aber bitte, du kannst gerne anfangen zu tippen - es gab schon mal irgendwo einen Thread wo jemand geschrieben hat, was es alles für CSS Klassen gibt.

MfG, Dennis.

--
Mein SelfCode: ie:{ fl:( br:> va:) ls:[ fo:) rl:( n4:# ss:) de:] js:| ch:{ sh:( mo:} zu:| [decode]
That's life - Es gibt im Leben[tm] keine Zurück-Taste. (Fabian Transchel)