darkmonk Posted April 29, 2011 Share Posted April 29, 2011 im new to html, so this might be a rookie mistake but why isnt this giving me the results im wanting <div> <ol> <li>first tile of bullets</li> <ul> <li>bullet 1</li> <li>bullet 2</li> </ul> <li>second title for bullets</li> <ul> <li>bullet 1</li> <li>bullet 2</li> </ul> <li>third title for bullets</li> <ul> <li>bullet 1</li> <li>bullet 2<li> </ul> </ol> </div> Quote Link to comment Share on other sites More sharing options...
darkmonk Posted April 29, 2011 Author Share Posted April 29, 2011 sorry i forgot to tell you what result im after: 1.title for bullets bullet 1 bullet 2 2.second title for bullets bullet 1 bullet 2 3.third title for bullets bullet 1 bullet 2 Quote Link to comment Share on other sites More sharing options...
fugix Posted April 29, 2011 Share Posted April 29, 2011 and what results are you receiving? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 30, 2011 Share Posted April 30, 2011 There's a malformed closing </li> tag at the end, but otherwise I get the result you're looking for with the exception of the bullets, but that can be changed with CSS. See the screen shot attached. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
darkmonk Posted April 30, 2011 Author Share Posted April 30, 2011 the results im getting are 1.title for bullets bullet 1 bullet 2 second title for bullets bullet 1 bullet 2 third title for bullets bullet 1 bullet 2 only the first title is numbered. oops didn't see malformed closing </li>. its only an example code but its layed out the same way that im trying to use. Quote Link to comment Share on other sites More sharing options...
darkmonk Posted April 30, 2011 Author Share Posted April 30, 2011 now i feel stupid, bar the malformed closing </li>, my example was written correctly, compared to my actual script! i didnt check it properly, i was using the <em> tag as well for the titles so i forgot to put the <li></li> on the outside of the <em>'s my code was reading <em>blah blah title</em> instead of <li><em>blah blah title</em></li> thats why it wasn't numbered in the <ol> sorry for wasting your time Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted May 1, 2011 Share Posted May 1, 2011 if solved... mark it solved, saves us reading through Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.