Quote:
Originally Posted by pietvo
That's strange. I was editing an epub file with Sigil 0.2.0 and I centered some lines and Sigil did put inline styles in the XHTML file.
|
Inline styles means styles applied directly on an element through the "style" attribute.
Styles applied through a "style"
element (like what you posted) are not inline styles.
Quote:
Originally Posted by pietvo
This happens in any XHTML file where I do this. I would prefer if Sigil would put these styles in a separate css file, common to all XHTML files, so that global editing of the style becomes easier.
|
That would be too invasive and also just wouldn't work right. The global CSS stylesheet would grow like crazy and would have to be automatically rewritten as styles are reused/modified in other files. That would mean that any changes you made by hand to that CSS would not necessarily stay that way. it would also involve making
massive changes to HTML Tidy.