In article <6867f785-ecfc-4839-aaf2-fa02655d1...@powys.org>, Tim
Powys-Lybbe <t...@powys.org> wrote:

> > On 27 May 2017, at 5:01 pm, Tim Hill <t...@timil.com> wrote:
> > 
> > In article <5642c25e44ch...@chris-johnson.org.uk>, cj
> > <ch...@chris-johnson.org.uk> wrote:
> >> In article <a8bcdc15-df7c-4389-aaa8-10595035d...@powys.org>, Tim
> >>   Powys-Lybbe <t...@powys.org> 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.
> > 
> > www.timil.com/temp/superscript.htm


> 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
unlikely.

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

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

Reply via email to