I copy/pasted your html and css code and the page looked like the attached image. I'm wondering if something has been corrupted in your sigil.ini file. Under Windows, sigil.ini is located in %LOCALAPPDATA%\sigil-ebook\sigil (copy/paste into a Windows Run box (Windows key + R)). I would suggest closing Sigil, renaming the file to sigil.ini.org, restarting Sigil and see if your preview pane still misbehaves.
Last edited by DNSB; 11-06-2020 at 01:12 AM.
Reason: edit: Added image after linking stylesheet
|