You are here: can CSS do this? « HTML « IT news, forums, messages
can CSS do this?

Posted by philiptdotcom on 07/20/06 02:36

Hi, folks! I'm a newbie to the group, and to CSS.

Can one create a CSS tag--e.g. <definition/>--that can render this:

<definition>affray</definition>

....as this:

<b>affray</b> [&nbsp;<a
href="http://en.wiktionary.org/wiki/affray">Wiktionary</a>&nbsp;]&nbsp;
&nbsp;[&nbsp;<a
href="http://www.google.com/search?q=define%3Aaffray">Google&nbsp;define:</a>&nbsp;]

Note that the text surrounded by the tag--"affray"--is repeated three
times within the proposed output, surrounded by other tags and/or
literals. In essence, converting:

A$

....to:

'<b>' + A$ + '</b> [&nbsp;<a href="http://en.wiktionary.org/wiki/' + A$
+ '">Wiktionary</a>&nbsp;]&nbsp; &nbsp;[&nbsp;<a
href="http://www.google.com/search?q=define%3A' + A$ +
'">Google&nbsp;define:</a>&nbsp;]'

Certainly, it can be done using XML transformations; but can it be done
just using CSS? (If so, how?)

Thanks!!

 

Navigation:

[Reply to this 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

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