Sieht sehr umständlich aus. Mach stattdessen eine weitere CSS "button" Klasse mit dem Selector ":hover". Dort definierst du dann wie die Farbe sein soll, etc.
Der Sourcecode hat teilweise keine Einrückungen bzw. manche dinge sind zu weit eingerückt, was es schwierig macht, zu erkennen wo z.B. DIV-Elemente geschlossen werden.
Gut, ich verstehe was ihr damit meint, aber ich habe die Webseite selber gemacht, diese riesigen Kommentare mit den # habe ich gemacht um mich zu Orientieren.
Die Webseite war eig. auch nur für mich bestimmt, also habe ich nicht viel Wert auf die saubere Anordnung einzelner Elemente gelegt.
Source code editor: "Webocton - Scriptly"
Webocton - Scriptly is an extensive Windows freeware code editor for writing HTML and programming with PHP.
In addition to the comprehensive search and replace facility, the program features syntax highlighting for several script languages and file types. Code snippets and complex tables can be added quickly and easily.
On the following pages you can find more information and the download of the program