[thelist] getting position of non-positioned elements

Karen Bowen KarenB at frontiersoftware.com.au
Thu Dec 14 20:32:19 CST 2000


Ahhh -"display:none"  - this I haven't tried, and it would get around the
problem of the hidden elements still taking up space.

I shall give this a try too - thanks again James!

Karen

> -----Original Message-----
> From:	Aylard JA (James) [SMTP:jaylard at equilon.com]
> Sent:	Friday, December 15, 2000 3:33 AM
> To:	'thelist at lists.evolt.org'
> Subject:	RE: [thelist] getting position of non-positioned elements
> 
> Karen,
> 
> > When I asked about getting the select element's position, I was thinking
> > that maybe I could just put another input box in exactly the same place
> &
> > swap their visibilities.  However, this is harder than expected, as when
> I
> > create the new element, it is inserted wherever and pushes everything
> else
> > along...  No good!
> 
> 	My apologies -- I don't fully understand your problem, and I can't
> really take the time to wade through it. From the above paragraph, I'm
> wondering if using a higher z-index value for the new element would solve
> your problem; or if using "display: none" instead of "visibility: hidden"
> would do it, since setting display to "none" does not reserve space for
> the
> element in the document flow, whereas setting visibility to "hidden" does.
> 	Sorry if I'm totally off-kilter...
> 
> James Aylard
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list