Reputation: 1144
Sorry about the simple question..
do anyone know why my images on the button section of this page are not aligning correctly. the image on the far right seems to be pushed down. Doesn't anyone know what's causing this problem?
Upvotes: 4
Views: 101
Reputation: 12348
You need to remove any spaces or new line between </li>
and <li>
, so in the HTML mode of your CMS it should literally read </li><li>
and not something like:
</li>
<li>
If that's somehow not possible, contact the developers / forum of your CMS and ask there for help.
Upvotes: 0
Reputation: 1639
Lots of whitespaces above each <li>
. Remove them and it should work fine. Use Chrome Developer Tools or Firebug to check 'em out.
Upvotes: 0
Reputation: 1502
This is not valid html. You need to fix that first. Run your page through a validator and correct the "Element div not allowed as child of element ul in this context" errors.
Upvotes: 0
Reputation: 2049
When I inspect the page I see extra html elements inserted into the document
</li><!-- ITEM ENDS HERE -->
<li class="item2">
The extra "nbsp"s are throwing off the alignment.
Upvotes: 1
Reputation: 6860
You have a bunch of  
's that aren't in tags. Looks like that seem to be the issue after removing them via Firebug. Remove them and it should line up.
Upvotes: 5