I have a problem... I want to use the <DIV> tag so I can toggle visibility on/off, so I've put all the <DIV> tags inside a <TD>. I know that's not proper HTML, but I want them to display IN or ON TOP OF that TD, since the layers are supposed to show up at the bottom of those cells. Naturally, as you experienced users know, putting all the <DIV> layers in there makes them jump around. They won't behave and seem to do random things.
HOW can I tack a <DIV>'s position to a TD? Or an image? Or something? I want it to always show up at the bottom...
No, I didn't try the code yet, because I already know it's not quite what I need. I need the DIV to be aligned to the <TD> it's in, and not at a certain position. The TD is always shifting around based on what data rows are there, so sometimes it could be lower, higher, etc.
I have seen a script that sort of does this-- it tacks a DIV to a TD cell but it works onMouseOver using the TD's like buttons, which I don't want. I want the page to put each DIV in a certain position (dictated by the position of that TD)... I hope this makes sense, and thanks for your input.
Originally posted by catsfive
I need the DIV to be aligned to the <TD> it's in, and not at a certain position. The TD is always shifting around based on what data rows are there, so sometimes it could be lower, higher, etc.
Get back to me after you have tried the code.