Thread: ADE css
View Single Post
Old 09-04-2014, 01:42 PM   #17
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I agree. From your (both of you) comments, it could be understood that the fact that some element takes up space when hidden may be a side effect, a bug, or a particularity of some renderer. I just wanted to point out that that is exactly what "visibility:hidden" is supposed to do and the reason why one may want to use it in some specific cases, it's not a side effect.

And yes, "display:hidden" is wrong, or a mistake, as I said, for "display:none" or "visibility:hidden". Which is the right one, depends on what one wants. (And in ePub 2, "visibility" is not a required property.)
Jellby is online now   Reply With Quote