How do you propose to create a link without an img
tag, ...
Again, as Platonides said, the img tag didn't exist prior to you
putting it there, and the link worked just fine.
state-dependent styles cannot be handled inline?
You're correct that you can't represent state-dependent styles via an
inline style declaration - which is why I said you should remove the
inline background declaration and put it all in
[[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]].
-- Jim R. Wilson (jimbojw)
On Nov 11, 2007 9:10 PM, James Sweet <james(a)educationarchitects.com> wrote:
> How do you propose to create a link without an img tag, given that
state-dependent styles cannot be handled inline?
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)lists.wikimedia.org
> [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides
> Sent: Sunday, November 11, 2007 4:43 PM
> To: mediawiki-l(a)lists.wikimedia.org
> Subject: Re: [Mediawiki-l] Change logo on hover
>
>
> James Sweet wrote:
> > If you remove the style attribute and don't add an image source, then
> there
> > is no image at all in the anchor and therefore nothing to click on. That's
> > why the transparent image is needed. It's actually what provides the link,
> > but only the two background images can actually be seen.
>
> The monobook didn't have an <img tag before you added it. It's not
> really needed.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
>
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
>
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>