Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2059
  • Last Modified:

<td style="position:relative"> in firfox

hi,

the Code Snippet works fine in IE
but in firefox <a> position is absolute for the entire page not relative to <td>

how can I solve this?
<td style="position:relative;">
	<a style="position:absolute;top:10px;right:20px;">...</a>
</td>

Open in new window

0
uk1900
Asked:
uk1900
1 Solution
 
David S.Commented:
This would be the quick fix:

<td><div style="position:relative;">
        <a style="position:absolute;top:10px;right:20px;">...</a>
</div></td>

Are you really marking up tabular data though?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now