Results 1 to 2 of 2
Oct 7, 2010, 20:20 #1
- Join Date
- Jun 2008
- Madison, WI
- 34 Post(s)
- 2 Thread(s)
what method do you use to give a TD position:realtive.
Googling this I found ONE ARTICLE (within the search) about the CSS specs not requiring position in table elements!!! Meaning that many UAs don't have the ability to give a TD relative position.
what this means that any child element that's AP'ed will be positioned relative to a parent of the Table and not the cell in which it is contained. :/
Well not exactly, if you wrap the contents of the cell , in a Div , for example then you can position any child of the div relative to the div, and it will be almost equivalent to having AP off of the cell.
Well the article I found was dated 2005, I am stil showing that TD are tricky to style as far as RP goes, so I am still using the wrap method.. but I was curious to know if anyone has found an alternate way to position something off of a cell.Tips for better/ faster SitePoint forum answers
Brilliant ideas, elegant execution.
Graphic Design, Art Direction, Copywriting and Web Design.
Oct 7, 2010, 21:20 #2
- Join Date
- Oct 2008
- Whiteford, Maryland, United States
- 12 Post(s)
- 0 Thread(s)
Your findings are correct. Browsers won't recognize position:relative on a table cell
I nest a <div> directly inside the table cell to overcome this
There really is no beter option.Always looking for web design/development work.