Joseph C R Posted February 21, 2014 Share Posted February 21, 2014 <style>p.margin{margin-top:0px;margin-bottom:0px;margin-right:25px;margin-left:25px;}</style><p class="margin int1">Climb aboard the <span class="class1"><a title="" target="_self" href="http://spaceuphoria.com/interstellar%20one.html">Interstellar One</a></span> and travel much faster than the slow speed of light! Let my interstellar imagination turn your computer into an interstellar star ship and travel far beyond the depths of your very own imagination. I hope you enjoy your visit here at SPACEUPHORIA; everything is possible!</p></div> Is there a way to make hover links work with CSS margin Settings, and div tag conflict on me too, when I want to use coloured hover, hyperlinks. I hope someone can help me fix my bug problem. Link to comment Share on other sites More sharing options...
ChrisLannister Posted February 21, 2014 Share Posted February 21, 2014 (edited) .class1 a:hover{ color:black;} http://www.w3schools.com/css/css_link.asp For your example, call the span class. Have a play on js fiddle = http://jsfiddle.net/7s7CX/ Edited February 21, 2014 by ChrisLannister Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now