Re: Respect visibility:hidden and display:none in design mode
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Wed, 28 Sep 2005 10:01:29 -0400
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
.
- Follow-Ups:
- References:
- Prev by Date: window popped up from BHO doesn't come to front
- Next by Date: Drag & Drop, AxWebBrowser, and C# application,
- Previous by thread: Respect visibility:hidden and display:none in design mode
- Next by thread: Re: Respect visibility:hidden and display:none in design mode
- Index(es):
Relevant Pages
|
|