ThatJeeves Posted July 6, 2012 Share Posted July 6, 2012 Hello. How do I define color for my <hr>? Is with "background" or "color" in my css-file? Link to comment Share on other sites More sharing options...
eTianbun Posted July 7, 2012 Share Posted July 7, 2012 Use both! Some browsers (previous versions) uses color while others uses background-color. So using both, will give the <hr /> color in both old and new browsers. 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