Reply to Re: can CSS do this?

Your name:

Reply:


Posted by Harlan Messinger on 11/29/09 11:53

philiptdotcom wrote:
> 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:

CSS doesn't have tags.

> <definition>affray</definition>

Assuming you're talking about an (X)HMTL document, you can't make up
your own HTML tags.

>
> ...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?)

No.

[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

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