日期:2014-05-16  浏览次数:20692 次

样式求助




串了

------解决方案--------------------
怎么了????
------解决方案--------------------
图片挂了啊  ~~
------解决方案--------------------
上传到http://jsfiddle.net/
------解决方案--------------------
<div><a title="安驰货车" style="margin-top: 0px; margin-bottom: 0px; float: left;" href="/jct/more.aspx?id=272ff168-646e-4028-99a5-18882ca86856&amp;Pp=1df2d586-6672-4cff-a24c-1f585e3a03c0">安驰货车</a></div>

看出问题了,DIV是块状元素,换行是正常的。所以你不想要换行的话,这里的
<div style="display:inline-block;float:left;overflow:hidden;">