Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Inline CSS Styles' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Inline CSS Styles
Authored by: rbrtrx on Jun 10, '10 04:45:58AM

Doing some inspection shows that Readerís CSS styling is actually applied as inline styles, presumably copied from the CSS file in the app bundle. Therefore, changing that CSS file changes what ends up in Reader, but user stylesheets wonít since inline styles have priority (even with the dread !important) over user stylesheets.

Incidentally, this also prevents a) Readerís CSS from affecting the loaded page, and b) the loaded pageís CSS from affecting Reader. It was pretty nearly necessary for them to do it this way if they wanted to keep Reader as HTML/CSS within the same web view (and apparently they did).

A Safari extension might have more luck, as it ought to be able to alter the inline styles directly. We shall see.

[ Reply to This | # ]