In order for two or more items to align next to one another they need to be floated. You have #nav li img floated but they are contained in anchor tags so you need to use #nav li a instead and this is what I would add: