In article <[email protected]>, Tim Powys-Lybbe <[email protected]> wrote:
> > On 27 May 2017, at 5:01 pm, Tim Hill <[email protected]> wrote: > > > > In article <[email protected]>, cj > > <[email protected]> wrote: > >> In article <[email protected]>, Tim > >> Powys-Lybbe <[email protected]> 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
