You are here: Re: add an image to a link with CSS - possible? « HTML « IT news, forums, messages
Re: add an image to a link with CSS - possible?

Posted by Ben C on 11/27/07 15:05

On 2007-11-27, Tomasz Chmielewski <tch@nospam.syneticon.net> wrote:
> Toby A Inkster schrieb:
>> Tomasz Chmielewski wrote:
>>
>>> The 'content: "";' was confusing Konqueror - with this one, it looks
>>> fine in Firefox, IE7 and Konqueror:
>>
>> 'content: ""' wasn't *confusing* Konqueror. Konqueror was rendering it
>> completely correctly, as 'content: ""' means 'display no content'.
>
> In that case, Firefox and IE7 can't render 'content: ""' CSS element
> correctly.

It's Konqueror that's wrong. The content property only applies to
:before and :after pseudo-elements. IIRC you had it in an ordinary
selector without :before or :after. It should do nothing to those
elements.

It's not supposed to rewrite the content of a normal element, at least
not in CSS 2.1.

 

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

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