I'm a bit confused with this one - I think it must be a JS issue http://www.schmoozefm.com/archive-post-test Two buttons saying: "Re-list this deal" on clicking both of these a div with a form in it becomes visible - I would like the div to be centered in the window on each occasion. I think the CSS and HTML are identical for the two so I think the issue must be in the JS in the header... I would be grateful for any suggestions.
Same CSS however the the pop-up divs are in different containers. Move: <div id="layer2" style="visibility: hidden;"> <span id="close2"><a href="javascript:setVisible('layer2')"><strong>Close window</strong></a></span> <h3>Re-list this deal</h3> <div align="center"> <br> <form method="post" action="send.php" name="frm2"> <p><label>Please enter your email address</label> </p> <p><input type="text" onfocus="getUrlVars2()" style="width: 350px;" name="txtEmail2"> </p> <input type="hidden" style="width: 350px;" name="entry2"> <input type="submit" id="relist-form-button" onclick="return ValidateForm2()" value="Re-list" name="submit2"> </form> </div> </div> To be directly above <div id=layer1>. Let me know how you get on.
Thank you for that, Peter, really, really helpful of you. I was thinking it was something like that but I thought Firebug/Chrome developer tools would have shown me somehow.