|
|
#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,571
Karma: 20150435
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.) |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conditional CSS for ADE readers | democrite | ePub | 4 | 09-23-2013 10:10 PM |
| ADE breaks CSS --> CSS Validation: Parse Error / Value Error | dasboeh | ePub | 4 | 12-10-2012 04:25 AM |
| CSS troubles in ADE | xmlgirl | ePub | 7 | 03-26-2012 01:50 PM |
| ADE mit userstyle css | mtravellerh | PocketBook | 0 | 05-21-2010 04:40 PM |
| epub, ADE and CSS puzzle | pdurrant | ePub | 3 | 09-03-2009 02:07 PM |