Hi,
ich beschäftige mich gerade mit den CSS Pseudo-Klassen :before und :after. Meine Frage: Kann man innerhalb des hierdurch erzeugten Contents auch Zeilenumbrüche darstellen?
Hättest Du mal die Beschreibung zu content gelesen. Da steht nämlich drin, wie es geht:
Authors may include newlines in the generated content by writing the "\A" escape sequence in one of the strings after the 'content' property. This inserts a forced line break, similar to the BR element in HTML. See "Strings" and "Characters and case" for more information on the "\A" escape sequence.
(siehe http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content)
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/