Reply to Parsable HTML in :before statement

Your name:

Reply:


Posted by Martin Magnusson on 06/08/05 18:23

I'm trying to modify my address tag to display <h4>Address:</h4> before
the actual contents of the tag, like this:

address:before{
content: "<h4>Address:</h4>"
}

But when I try this, the actual text is displayed, including the tags,
and it is not parsed by the browser. From what I could gather from the
CSS2 specs, this is actually correct behaviour.

Is the only way to make the before-text look like an h4 to copy the
style from the h4 tag to the address:before block (which works, but
doesn't seem like a very elegant solution)?

/ martin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация