You are here: Re: a tag style with css « HTML « IT news, forums, messages
Re: a tag style with css

Posted by Els on 11/23/05 19:32

Michael Huhn wrote:

> Hello,
>
> I've got a small problem to define an a Tag via css.style sheet.
> In my html page I have a couple of href. These links are always visible in the status bar as soon as they get the mouse over event.
> I don't want that the user is able to see where the href is linked.

Why?
I will always be able to see that.

> I found the following source code to customize the status bar as
> soon as I get the mouse over event:
>
> <A HREF="page.html" onMouseOver="self.status='Message'; return
> true" onMouseOut="self.status=";return true">text</A>

Bad idea. If I would have JavaScript enabled, and notice that I can't
see where the link is going, I'll be paranoid, thinking you're trying
to trick me into opening something weird :-)

> I want to define this in my css file which I is included in each
> html file I have. But I can't find the css file syntax for this.

You can't define JavaScript in a CSS file. CSS is for styling.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: David Bowie - Scary Monsters (And Super Creeps)

 

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

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