Page 1 of 1

Links & text-decoration

Posted: 29 Jul 2011, 05:03
by tschortsch
Hey!

I tried to edit the stylesheet in my theme to change the hover-underline-effect on links but links are still underlined on mouse-over.

I used following code in the style-sheet:
Code
a:hover {
text-decoration: none;
}
Inline-css in the textpage also had no effect on text-decoration. I always cleared the cache...

Does anybody know how to do this?

Re: Links & text-decoration

Posted: 04 Aug 2011, 13:00
by mjau-mjau
Yes, unfortunately we had to pretty much remove the a:hover css from themes, because it created a bug with links when the contact form or images were present. Instead, the underline hover effect is hardcoded. Is this a problem? Its a pretty subtle effect that visitors are used to see these days ...

Also, you can not use inline-css in flash textfields ... They simply are not that powerful like browsers - They are just limited textfields with basica formatting. You can assign CSS classes in your textpages, but not inline-css.

YES:
Code
<span class="myclass">Hello World</span>
NO:
Code
<span style="color: #FFFFFF;">Hello World</span>

Re: Links & text-decoration

Posted: 04 Aug 2011, 16:33
by tschortsch
Thanks for your reply!

Yes, I can live with that, just wanted to ask...