You are here: Re: Image swapping/Rollovers « HTML « IT news, forums, messages
Re: Image swapping/Rollovers

Posted by David Dorward on 10/23/05 19:59

Jeanne D wrote:

> Is there a magic trick to image swapping/image rollovers using CSS?

That depends precisely what you mean by that. There is nothing magic about
foo { background-image: something } foo:hover { background-image:
something_else }, but if you want to change content then you are entering
the realms of nasty hacks.

> It doesn't seem to work in IE on the Mac.

What exactly is "it". You haven't shown us your code, so its hard to say.

> Or does it just not work at this
> date and time? Will it ever?

Since IE/Mac has been abandoned by Microsoft, any code that doesn't work on
it today is highly unlikely to work on it anytime in the future.


> As I'm learning about limitations in CSS I can't help but think that
> the language is forcing us to design a certain way.

CSS doesn't enforce any "one true way" of doing things.

> I'm very used to image swapping using HTML and it's weird to see it not
> supported with CSS.

You are? How on earth do you do image swapping with HTML? Its pretty easy
with JavaScript, but HTML doesn't have any facility for that sort of thing.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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