问题描述:

My friend owns this site and is making it by hand

http://www.vistavapors.com/

everyone like 5 page reloads the top menu does this:

http://i.imgur.com/daY4VME.png (in chrome)

i've heavily debugged in chrome's tools and can find no difference in css between when it happens and when it doesn't.

Anyone have a clue?

网友答案:

This works in Firefox:

#head-main span
{
  vertical-align: top;
}

but @cvsguimaraes version doesn't work

网友答案:

If you talking about the vertical alignment between the white and blue words at top, you just need to change the vertical alignment of the <li> to match the <span> vertical alignment .

#head-main ul
{
  vertical-align:top;
}
相关阅读:
Top