ghostheadX Posted December 3, 2012 Share Posted December 3, 2012 Hi, does anyone know what's wrong with this code? I'm trying to set the display as inline. body { background-color:black; background-repeat: no-repeat; background-position: right top; background-attachment: fixed; font-family: fantasy; color: black; } .RedBox { width: 90%; margin-left: 2em; color: Red; font-weight: bolder; border-width: thick; border-top-style: double; border-bottom-style: double; text-align: center; }h4 { color: gold;}h3 { color: silver;}list-nav { display: inline;} 1 Link to comment Share on other sites More sharing options...
ghostheadX Posted December 3, 2012 Author Share Posted December 3, 2012 Sorry, I didn't mean to put all of the code from the file. Here is the code I need help with: list-nav {display: inline;} Link to comment Share on other sites More sharing options...
Ingolme Posted December 3, 2012 Share Posted December 3, 2012 That selector will apply the style to any element called <list-nav>. Maybe you wanted a class selector or an ID selector. 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