On Sat, 15 Jan 2005, Bryn Evans wrote:
I notice there has been a lot of work on Style Sheets
Would it be possible, in the long term, to make the
use of style sheets a configurable option ?
No. Internally, everything is CSS-based (ie HTML styling attributes (such
as width, height, alignment, colour etc) are converted to CSS styles).
Thus turning stylesheets off would result in a page laid out vertically
with all text being black (which should be the default, given no styling
There are sometimes badly designed sites that show
up better with no style sheet recognised.
The question is; are these sites displaying badly because of unimplemented
parts of CSS in NetSurf or because of bad design? The former is relatively
trivial to deal with - it "just" requires the relevant CSS to be
implemented in NetSurf. The latter is somewhat harder.
What _may_ be feasible (and I've not looked to find out) is to have some
method of telling NetSurf to ignore all style information provided by a
page's author (ie display the page by using just the default stylesheet).