The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

HTML Style Hover

View previous topic View next topic Go down

Solved HTML Style Hover

Post by !_NICK_! on December 20th 2012, 9:55 am

Okay, so I've even searched Google and couldn't find anything. I want to know how to add a hover effect in html styles.

Example,
Code:
<div class="test" style="{color:black} :hover {color: orange}"></div>

The code above does now work; however, I'm asking how to fix this code above? This has got me stumped terribly.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Solved Re: HTML Style Hover

Post by !_NICK_! on December 20th 2012, 1:43 pm

I know you can't have the brakets. Razz

I was showing an example.

Solved.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Solved Re: HTML Style Hover

Post by Sanket on December 20th 2012, 5:50 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum