![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
_=""
An ebook I'm editing has some images that I wanted to be smaller. I added a width style:
Code:
<img style="width: 60%" src="images/xyz.jpg" alt=""/> Code:
<img style="width: 60%" _="" src="images/xyz.jpg" alt=""/> |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,326
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I suspect this is just a glitch because of the order of attributes
You might try a ; after 60% |
![]() |
![]() |
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
You're right. Must be more careful.
![]() |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 742
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
If you haven't run across it already, a good place to learn and experiment with regex is:
https://regex101.com/ |
![]() |
![]() |
![]() |
#5 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
The meaning of _="" in a CSS file continues to elude. |
|
![]() |
![]() |
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,145
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
May I ask if you post what the original code was that triggered this issue? I tried to generate a similar ePub (both 2 and 3) using the code you posted and did not get the oddity you showed either using calibre's ebook-editor or Sigil.
|
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 289
Karma: 36772
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Code:
<div class="inline-image inline-image-size-medium inline-image-flow-center inline-image-flow-within-text inline-image-aspect-wide inline-image-without-caption inline-image-begins-section inline-image-before-element-end"> <div class="inline-image-container"> <img src="images/chapno-1.jpg" alt=""/> </div> </div> |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressing "Restore Defaults" under "Book Details" wipes all "Look & Feel" settings. | MarjaE | Library Management | 1 | 03-30-2021 11:46 AM |