View Single Post
Old 05-27-2010, 05:39 PM   #5
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by pietvo View Post
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 View Post
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.
Valloric is offline   Reply With Quote