> Add vertical-align:middle; to your styling for the anchor tags.

Or...

When I've done this sort of thing in the past, I do something like this:

a.menu_link {
  display: block;
  background: url('button.gif') no-repeat left center;
  padding: .5em 0 .5em 35px; width of image, and some added spacing
  min-height: 31px;  height of image
}

I've found that it gives me cleaner markup (the div and the img go away) and 
more control over my positioning.  If I want the image slightly above or below 
center, no problem.  Just adjust the vertical padding accordingly.

---Tim
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to