在更宽的屏幕宽度上,我通过在img标记上使用float:left,在表的左边有一个图像。HTML如下所示:
<div>
<img>
<table>
<tr><th>This</th><td>Some fairly long content</td></tr>
<tr><th>And the other</th><td>Some fairly long content</td></tr>
</table>
我有一个div,它有许多与div长度相交的元素,所以我想在div旁边放置一个箭头,这样当我将鼠标移动到图像上时,div的内容就会被滚动。
<div id="image"> go down </div>
<div id="container">
<div><a name=""></a> One </div>
<div><a name=""></a> two </div>
<
我在div旁边有一张图片,旁边有一个超链接。问题是超链接显示在图像的底层。我想把它显示在图像的中心。
HTML:
<div class="main">
<img class="image" src="http://aux.iconpedia.net/uploads/16149178162137949115.png" alt="smiley" />
<a class="link" href="#">move it up in the center to the sm