Q_24447042: shows how to use same height for each LI element

This example shows how to make different padding for different elements in an unordered list

This page will remain online for future reference. The original question can be viewed at Experts-Exchange, but requires (free) membership. More information about me, about how this site is maintained and about how to use these pages for yourself, check out the opening page.

Use the following code:

#menu ul li {
    padding:11px 0px 0 0px;
}

img {
    position:absolute;
}