I've been trying to set up a DIV layer in my website. I would like it to be in the center, and to be 570 pixels wide, and 400 pixels from the top. I do not want to set a height for it because I want it to extend as much as there is text. I also want it to float over a table. So far, however, I have not been able to do this.
Things you want to look at:
1) You need a proper doctype. See my link below. Use html4.01 strict.
2) Do not call divs 'layers'. Divs can be placed in a z-layer but they aren't always layers and they aren't in this case.
3) You shouldn't use tables for layout.
EDIT: Well, now that I look at this, I can see why you could call it a layer.
Last edited by drhowarddrfine; 04-24-2007 at 06:39 AM.