Re: Respect visibility:hidden and display:none in design mode



Reddy <reddy.yn@xxxxxxxxx> wrote:
> if any one has gone through the following link
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmshtml/html/mshtmleditplatf.asp
> can please explain me what does it meant by
>
> Respect visibility:hidden and display:none in design mode

Had you taken the trouble to actually read the whole article you quote,
you would have found the following explanation a little further down:

For hosts who want the option of providing fully WYSIWYG editing,
there's a command in Internet Explorer 5.5 to honor the
visibility:hidden and display:none attributes at design time. By
default, these attributes are ignored in edit mode.

The issue is as follows. In design mode, you would want to let the user
choose any element, say by clicking a mouse on it, and manipulate its
properties. On one hand, if you actually hide an element with
visibility:hidden style, the user won't be able to interact with it
which somewhat defeats the purpose of the editing tool. On the other
hand, if you don't hide such an element it would screw the layout of
other elements, so you no longer have WYSIWYG. To solve this dilemma,
IE5.5 presumably allows you to switch between these two modes on the
fly.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: edit update and canel buttons not firing correct event handlers
    ... just now, I created my four button columns in design mode, and the ... when new controls were created on edit mode (the textboxes etc). ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Dream Weaver
    ... Ed Jay wrote: ... I used to use Homesite 4.n which had an edit mode, ... the design mode was only a view mode with table ...
    (alt.html)
  • Combo Box goes to edit mode even if design mode is in OFF position
    ... I know that when the Design Mode is in an "ON" position and when you click on ... it will automatically goes to edit mode. ... another reason why the Combo Box button will not work even though the Design ... Charles O. ...
    (microsoft.public.excel.misc)