The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

CAN'T PLACE Layer to move with table cell

I have a layer that must go into a table cell so it centers with the browser window. I can't copy and paste it. I can't drag it in. I can't copy and cut the code only. It also has js in it so I wonder if this is my problem HELP PLEASE

I've searched this forum and cannot find what I need. Of the 4 entries I found only one looked promising but the answer given, or I couldn't understand it.

You can place a div inside a layer cell, position it relatively and it will take it's position from the top left of the table cell... but you need to hand code that in.

nadia

Yes this is what I need to do. I've got a javascript scrolling text block that needs to fit within my layout, which centers on the page. If there is another way to do this I'd love to know. I'm not looking for DW techniques, but this script is in a layer box already. I didn't create it.

This does sound like I'm asking to address this problem with blinders on. Here is the link. I want to put the scroll in the yellow box above. http://clickingaround.com/javascript_59.html I tried changing coordinates but I don't think I'm adjusting the right ones.I also tried putting the table tags around the javascript. I am a js idiot, and it's only getting worse. So maybe this goes in js forum??