![]() |
#16 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Quote:
display:hidden is incorrect. What mrmikel tried to say, I think, is that when you use display:none the actual (paragraph for that matter) will not display at all as if it was not there, though if you use visibility:hidden the paragraph will simply be invisible but the space it takes will stay as it is, meaning, it will look like an empty paragraph. |
|
![]() |
![]() |
![]() |
#17 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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.) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conditional CSS for ADE readers | democrite | ePub | 4 | 09-23-2013 09:10 PM |
ADE breaks CSS --> CSS Validation: Parse Error / Value Error | dasboeh | ePub | 4 | 12-10-2012 03:25 AM |
CSS troubles in ADE | xmlgirl | ePub | 7 | 03-26-2012 12:50 PM |
ADE mit userstyle css | mtravellerh | PocketBook | 0 | 05-21-2010 03:40 PM |
epub, ADE and CSS puzzle | pdurrant | ePub | 3 | 09-03-2009 01:07 PM |