Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (coconutjj):

HTML/CSS: In CSS I put the [:hover] attribute on some text so when I hover over it, it will turn into another font-color. However I later realized that if my cursor in on the row that the text is, it will still change color. How do I fix this so it will only change when my cursor is on the text.

OpenStudy (harsha19111999):

Then you must have assigned it to the whole row. So, you can enclose it in a <div> element. If you can post the code here, I can help

OpenStudy (rsmith6559):

<div> is a block element. <span> is an inline element.

OpenStudy (anonymous):

You should wrap the text in a span element and apply the css to that span.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!