Reply to Re: change link in <p> tag

Your name:

Reply:


Posted by rf on 12/24/07 11:15

"Sean" <thegeeker@gra.midco.net> wrote in message
news:OL6dneyx0uD96PLanZ2dnUVZ_qjinZ2d@midco.net...
> On Wed, 19 Dec 2007 08:30:47 -0500, Jonathan N. Little wrote:
>
>> Tarscher wrote:
>>> Hi all,
>>>
>>> I have a class defined for a p tag. Can I format the link inside the p
>>> tag in a certain way? Now it uses the standaard hyperlink css.
>>>
>>> I tried
>>> p.info:link
>>> {
>>>
>>> }
>>>
>>> but that didn't work.
>>>
>>> I can ofcourse give the hyperlink in the p tag it's own class but can't
>>> this be done automatic when the link is inside p?
>>
>> p.info a:link
>
> I'll explain a little more. ":link" is a pseudo class for your ordinary,
> inactive link; it's useless to try and select this particular class from
> any other element besides a. The space between p.info and a:link
> represents the selection of any a:link inside a paragraph element with
> id="info".

class="info".

--
Richard.

[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

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