Close. You are correct that display:none removes elements from the
visual flow. The property that hides them while maintaining visual
flow is visibility:visible and visibility:hidden.
TAG
On Aug 7, 2007, at 4:20 PM, Brian Williams wrote:
> Hi,
>
> pretty much a CSS novice here but i think thats how the
> display:none works -- iirc "none" takes up zero space in the
> "workspace"
>
> I think display:hidden is what you are after.
>
> after that i have no clue
>
>
> On 8/7/07, Simon <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a page with around a dozen DIV Layers, all 'relatively'
> positioned. My issue is when one layer is "deleted" (By this I just
> mean the DIV Layer's 'display' is changed to 'none'), the other DIV
> Layers move up.
>
> I don't understand why this happens. The only time it doesn't happen
> is when I use the Javascript "new Insertion.Bottom". I use this in my
> script, but this creates another issue which you can read about below.
>
> When I use "new Insertion.Bottom("div", content)", all the other DIV's
> get pushed down as a new one has been added.
>
> Do you have any ideas of how I can stop this from happening?
>
> Thanks
> Simon
>
> P.S: An example of one of the DIV's is:
>
> "<div id="sticker-1" title="1" class="sticker_cactus" style='position:
> relative; left: 54px; top: 190px; z-index: 317; '
> onClick="zIndex(this);"><img src="store/images/
> delete_entry_button.gif" align="right" href="#"
> onclick="remove_sticker('sticker-1');" /></div>"
>
>
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---