Hiroto, reduce the size of double paragraphs

So Jive input froze. Being lazy, I took a picture:

User uploaded file


What I want to do is to make these empty paragraphs take up less vertical space. I've looked at the css/html. Apple decide to use !important in min-height. I thought the user css should be last and the last !important should take precedence. The ASC !important wins. Friendly bunch.


Here is a picture of the situation.

User uploaded file

The frustrating thing is it works great when I manually insert the element.


I was able to display: none these paragraphs. Risky? I tried to change the attributes on the preceding paragraph, but this didn't have a noticeable effect.


R

Mac mini, OS X Yosemite (10.10.5), Fall 2014; iPhone 4 7.1.2

Posted on Jun 13, 2016 8:18 PM

Reply
3 replies

Jun 14, 2016 1:09 PM in response to rccharles

Hello


To my knowledge of CSS cascading order, the following SHOUD work because user important declaration has higher precedence than author important declaration.



p { min-height: 0px !important; } p[style="min-height: 8pt; height: 8pt; padding: 0px;"] { height: 0.5em !important; }




However this does not work as I expect and I don't know why.


Meanwhile the following appears to work as expected.



.j-thread .jive-content .j-thread-post section p, .j-thread .jive-content .j-thread-post section .jive-rendered-content p, .j-thread .jive-content .j-thread-post section.j-original-message .jive-rendered-content p { min-height: 0px !important; } p[style="min-height: 8pt; height: 8pt; padding: 0px;"] { height: 0.5em !important; }




* This seems to indicate that the specificity of selector plays higher role than origin of rules (user or author) here. However, to my understanding, specificity of selector should matter only for rules which have the same precedence determined by its origin and importance, which is not the case here...



Regards,

H

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hiroto, reduce the size of double paragraphs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.