have a look at: http://reference.sitepoint.com/css/position http://www.w3schools.com/Css/pr_class_position.asp http://www.quirksmode.org/css/position.html
the 'position:fixed' style does not really seem to work with IE... >>> On 2008/09/01 at 02:15, in message <[EMAIL PROTECTED]>, "Paul Joseph" >>> <[EMAIL PROTECTED]> wrote: Hi David, Thank you for your reply. I *think* I understand what you say about the CSS based approach (which is the one I have to use as redesigning the form for the client would be too big a change at present.) I'd like to confirm one thing though before I buy that book: >> I'd suggest looking up the 'position:fixed' style. Do you mean that the "position:fixed" style will keep the button fixed in the visible browser pane, regardless of me scrolling? rgds Paul On Sun, Aug 31, 2008 at 11:44 AM, David Legg <[EMAIL PROTECTED]> wrote: Hi Paul, I have a Loooonnnng CForm and the client would like the "Save" button to float so that it is always visible? I should think your best bet would be to use a CSS stylesheet to fix the position of the save button. You could treat the save button like the contents of a fixed footer at the bottom of the page. I'd suggest looking up the 'position:fixed' style. Be warned though that IE 5 and friends doesn't support this, so a work-around has to be done for those. I'd recommend the sitepoint book: 'The CSS Anthology: 101 Essential Tips, Tricks & Hacks' [1] by Rachel Andrew if you are looking for ready made examples. [I'm not affiliated to this book in any way!]. Another approach might be to break up the form into smaller groups and only show one group at a time. An example can be found in the Multi-page wizard demo [2] Hope that helps. David Legg [1] http://www.sitepoint.com/books/cssant2/ [2] http://cocoon.zones.apache.org/demos/release/samples/blocks/forms/do-multipage.flow --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]