Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to position DIV's for multipage form 1

Status
Not open for further replies.

techu4

Technical User
Jun 27, 2005
32
GB
Hi all,

I have not used divs before and have found out that you can use them along with some javascript to create a multipage form which just hides or unhides the relevant div's when you click on form button.

This is all well and good but here is the problem i have.

I have 3 div's (3 section sof the form)If I use absolute positioning for the div's they don't disply in the correct place if you use a different screen resolution as the positioning is absolute to the top left corner of the page.

If I use relative positioning then the 2nd and 3rd div just sit below the 1st on the page hidden, but this throughs out all the alihnment of the graphics that make up the page.

Does any one know how to position div's so that they will always appear in the same area of the site (i.e there is a border made from graphic and the div's need to always sit inside that border), regardless of the screen resolution.

Hope this makes sense and that some one can help.

Regards

Techu4
 
Don't worry about answering the last question as I was being stupid (Again). I have tested it and it does not lose the data.

Cheers

Techu4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top