Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50130

An issue with css stylesheets

$
0
0
When in a css stylesheet I execute the commands "Reformat CSS/Multiple Lines Per Style" in those styles where I have declared the property "!important", Sigil adds a blank space that, in some readers, it makes that the property "!important" does not work.

An example:

Before "Reformat CSS/Multiple Lines Per Style":

Code:

.topM {
  margin-top: 1em !important;
}

After "Reformat CSS/Multiple Lines Per Style":

Code:

.topM {
  margin-top: 1em  !important;
}

And that extra space is causing issues in some readers. Please Kevin and Diap, fix that in the next version of Sigil.

Viewing all articles
Browse latest Browse all 50130

Latest Images

Trending Articles



Latest Images