Tim Hill tim at
Mon May 29 18:36:35 BST 2017

In article <6867F785-ECFC-4839-AAF2-FA02655D1947 at>, Tim
Powys-Lybbe <tim at> wrote:

> > On 27 May 2017, at 5:01 pm, Tim Hill <tim at> wrote:
> > 
> > In article <5642c25e44chris at>, cj
> > <chris at> wrote:
> >> In article <A8BCDC15-DF7C-4389-AAA8-10595035D4CE at>, Tim
> >>   Powys-Lybbe <tim at> wrote:
> >>> Hi,
> > 
> >>> I've just found that the SUP HTML command does not superimpose in
> >>> Netsurf 3.3, so I got the latest versio, 3.6, nor in that, finally
> >>> I read the advice and got last night's 4088 build and it still
> >>> didn't, so I wonder if this is something that I have not read
> >>> about.  Is <SUP> not a recognised modern feature?
> > 
> >> I have a feeling that SUP (and SUB) have never been implemented. I
> >> had a lot of trouble when making chemistry related web pages years
> >> ago.
> > 
> > I find that both <sup> and a defined CSS class ("super") both render
> > superscripts correctly in 3.7 #4085.
> > 
> >

> Ah, that suggests that SUP works correctly within CSS but not within
> old-fashioned simple HTML, which is what I use.

Well, that file *is* still working correctly here, whether <sup>, <SUP>
or CSS. 

The HTML version should be working if you haven't redefined <sup>
somewhere. Is there a chance that you have either included it in a
<style> or loaded (a) CSS (file) which has redefined <sup> ? It sounds

Perhaps your file !NetSurf.Resources.CSS has somehow been changed or been
corrupted? NetSurf's default <sup> is defined as:
sup { vertical-align: super; font-size: .83em; }

(which is interesting because other browsers use
sup { vertical-align: super; font-size:smaller; }

Though you don't think you use CSS it is how many of the <> directives
are defined in the browser so you ARE using CSS, whether you like it or
not.  ;-)

I think I would download a fresh NetSurf and create a fresh install. i.e.
don't copy it over the old one, create a new one.

Alternatively, include the <style>...</style> from the above file in your
<head>..</head> and use the <span..>...</span> it uses.


Tim Hill : : : :

More information about the netsurf-users mailing list