Mogul Posted July 18, 2009 Share Posted July 18, 2009 What's wrong with this css code?list-style: none;display: inline;Why doesn't my ul list appear horizontal? Link to comment Share on other sites More sharing options...
glosticks Posted July 18, 2009 Share Posted July 18, 2009 have ypu got it enclosed in brackets like this { list-style: none; display: inline; } regarsChris Link to comment Share on other sites More sharing options...
Mogul Posted July 18, 2009 Author Share Posted July 18, 2009 Yes, the brackets are present, I just didn't quote them. Link to comment Share on other sites More sharing options...
Mogul Posted July 19, 2009 Author Share Posted July 19, 2009 I cracked it.The problem wasn't that code, it was the code before it....TO get the ul list to display inline, the css i quoted before must apply to #div li rather than #divSo the completed code is#navlist li {list-style: none; display: inline;} 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