Inline Style .hover

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
BanyanAir
New User
Posts: 15
Joined: Fri Sep 09, 2011 3:35 pm
First Name: Larry
Last Name: Curcio
Company Name: Banyan Air Service
Phone: 9544935444
Contact:

Inline Style .hover

Post by BanyanAir »

Hi,

Using inline style I am able to override text-decoration for a specific element. I can't figure out how to get it to work for just a HOVER. Has anyone used "conditional" inline styles?

Thanks,
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Inline Style .hover

Post by Scott Klement »

Are you referring to the CSS pseudo-selector :hover? For example, you could set styling when someone hovers over an html link by coding:

Code: Select all

a:hover {
   // style here
}
Is that what you're referring to? If so, pseudo-selectors have never been allowed as inline styles in CSS. (This is true of all HTML/CSS pages, including but not limited to Profound UI).

Instead of coding this in the "inline style", put it in a CSS file. If necessary, use the "css class" property to force your widget to use the CSS style that matches the selector in the CSS file.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest