CSS question
- Started
- Last post
- 9 Responses
- echolock
How do I create a div tag with text or whatever with absolute positioning inside a table? The thing is, the table moves around (centered) as the browser window is resized so the div needs to as well.
- liquid0
post it
- afxrephlex0
???
- dc_again0
you can position any element within another positioned element.
this means that an absolutely positioned element by itself at left: 10px, top: 10px, will be positioned at 10px from the document top and 10px from the document left. but place that element inside another positioned element, and it will be 10px from the top of the containing element, and 10px from the left of the containing element.
position your table relatively would be a good start. or the table cell that contains the div.
- foreign0
there could be many ways of doing what you want to do.
use relative posit. within the table.
you want it to be relative to where the table is, not absolute.:P
- afxrephlex0
lorem
ipsum
- afxrephlex0
pvn parsed my latest post.
u can use absolute positioning inside a table cell, and the layer will behave to the cell's position.
- dc_again0
pvn parsed my latest post.
u can use absolute positioning inside a table cell, and the layer will behave to the cell's position.
afxrephlex
(Jun 6 05, 07:52)... providing that that cell is positioned using css too.
- Dancer0
Does I.E 5.2 (Mac) have any known problems with positioning div's cause I am.
- heavyt0
no, IE 5.2 shoudlnt have any issues. positioning is 1 thing that every browser does to spec.
ps. position your table relative.TR1