I don\'t know why this is not displayed right, the list is meant to display horizontally? Instead it is displaying vertically!
this is my code:
There are multiple solutions: you could change li to display: inline-block; or h1 to display:inline; (keep in mind to use only one h1 per site and to use it semantically correct! If you just want to style a word or a sentence which isn't really a h2 or 3 then use span's, em's or strong's.
Also it's important that an inline-a-Tag can't enclose a block-whatever-Tag that is if you're not developing for HTML5 where you can enclose just anything in an a-Tag.
Also if you can, omit floating for a thing that can be achieved with more backwards compatibilty