DDS7SDD
-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy
Вертикальное выравнивание - отображение в FF и Netscape
in HTML Coding
Posted
Столкнулся с непонятной ситуацией:
Есть ячейка таблицы в которой нужно выровнять div по нижнему краю.
Ячейке задаю позиционирование relative, а блоку absolute с bottom:0.
В IE5,7,8 Opera, Chrome все Ок - блок выравнивается по нижнему краю ячейки, но в FF, Netscape, IE6 почему то нет - находится в центре оной.
Кто нибудь может подсказать в чем суть - гугл молчит (может плохо искал...)
<td height="100%" width="200px" style="position:relative;">
<div style="width:200px; height:auto; position:absolute; left:70px; bottom:0;">
<a href="#">На верх</a>
</div>
</td>