我在li标记中有一个div,它在除IE之外的每个浏览器中都能正确对齐。
在IE中,出于某些原因,它决定将数字放在div之上。这是一些截图。
即:
所有其他浏览器(本例中为Chrome):
代码:
HTML是用这个php生成的:
//iterate the new ordered array and echo html
foreach($sort_array as $ID=>$val)
{
//get the title and author
$query = "SELECT ID, TITLE, SUBTITLE FROM $usertable WHERE I
我有一个包含一些内容的div。它的高度是31px,在它里面,按钮的高度更小。
<div class="headerAndButton">
<h3 class="h3">
Click the button to the right
<button>click me</button>
</h3>
</div>
我还有另一个标题,里面没有按钮。
<div class="headerAndButton">
<