This is exactly what I want to do. Don't know if the CSS part is the best way or not. Thanks for all responses, your time is appreciated.
http://www.geocities.com/technofundo/tech/js/showhide.html# -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlton Gregory Sent: Thursday, December 08, 2005 12:27 PM To: [email protected] Subject: Re: [css-d] CSS and a DIV Thank you I agree that part of it is javascript but I think that part has to do with layers and a z-index with absolute positioning ( CSS ? ) A visual of what Im trying to do is here us.f1.yahoofs.com/bc/3f944399_2f13/bc/DocDesign/HEWV.pdf?bft2FmDBZdclnjs z -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zoe M. Gillenwater Sent: Thursday, December 08, 2005 8:17 AM To: [email protected] Subject: Re: [css-d] CSS and a DIV Carlton Gregory wrote: >The below pseudo code basically hides and displays a div > >Can I with CSS do the same thing without using JavaScript. I actually >want to hide and show a div with a nested form that has one text input >in it. > >Problem is I want to show it in the middle of the page. I want it to >hide when the user clicks submit. > > No, CSS cannot do this. CSS is about presentation, not behavior. Granted, it contains hover, which slips into behavior, but it certainly can't alter your page when the user clicks. Use JavaScript. >The less JavaScript the better. Thanks for your time. > > Any reason why? Don't answer on list, since it's off-topic -- just consider why you think JavaScript is not a good solution for this. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
