03-13-2021, 07:47 PM | #1 |
Banned
Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
SVG images don't display in table cells in Sigil
Just when I thought everything was working smoothly, I discovered that my SVG images won't display in table cells.
To test it, I simply inserted a .jpg image in a table cell, and it works fine. But none of my SVG images will display in a table cell, even though I can display them inside div's (or not inside anything at all). Does anyone have a clue what's going on here? Thanks. |
03-13-2021, 08:18 PM | #2 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
This should have been posted in the Sigil forum, not here. My guess is since there is nothing to size the svg, it is just being drawn too small to see.
Tables are sized to fit contents but svg sizes are not fixed. Did you give each cell's svg proper height and width? All svg in the same row should have the same height. All SVG in the same column should have the same width so that a table is even possible, I would think. |
Advert | |
|
03-13-2021, 09:16 PM | #3 |
Banned
Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Ah, good tip. All I had to do was add a CSS class specifying a width of 100%.
Thanks. |
Tags |
sigil, svg |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 1.30 32 Bit - Cover and SVG Images path | Thomas_AR | Sigil | 4 | 08-27-2020 08:29 PM |
How good Sigil supports SVG images? | RbnJrg | Sigil | 7 | 07-18-2013 03:08 AM |
Images display in Sigil Book View, but not on the device | orange! | Sigil | 15 | 06-30-2013 04:50 PM |
Some images don't display on pdf in iTunes/iPad/iPhone | khronos78 | Apple Devices | 10 | 12-11-2012 05:10 AM |
Troubleshooting Why don't Kindles display cover images? | mr ploppy | Amazon Kindle | 7 | 02-04-2011 10:29 AM |