3
Contributors
2
Replies
11
Views
3 Years
Discussion Span
Last Post by tdrosiadis
1

I dont beleive there is any inline equivalent for these pseudo-selectors even though a W3C draft from 2002 indicates yes... Syntax of CSS rules in HTML's "style" attribute

You could use javascript instead..

<div onMouseOver="this.style.backgroundColor='yellow'" onMouseOut="this.style.backgroundColor='#FFFFFF'">DIVie</div>

0

I think there is a possible walkthrough because I have made something similar using classes and hovering the class. That means that if you assign the css code of the class to your in-line style rules then propably you will do the trik (of course using the syntax of the link above).
Tasos Drosiadis

Edited by tdrosiadis

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.