Posted by Andy Dingley on 05/04/06 19:23
Michael Laplante wrote:
> visibility:hidden versus display:none.
>
> What are the differences and when would you use one over the other?
It's the difference between [visibility] painting one out (but it still
leaving a hole behind) and [display] vanishing altogether as if it had
never been there, with the other elements flowing around into its
space.
Generally use display:none;
If you want to make a "menu button" vanish, but without disturbing the
rest of a toolbar, then use visibility.
Navigation:
[Reply to this message]
|