Tuesday, 5 September 2017

NetSurf browser detection

Readers may be familiar with the feedback which drove me to make special
dispensation for NetSurf users on the RISC OS Events Calendar at
www.timil.com/riscos/calendar ;o)

Well, I have succumbed to some moaning of my own. The lack of support for
CSS flex containers (a useful layout tool to flow objects around the page
and space them out sensibly on any sized display) has me now providing a
different style sheet with inline-block containers for NetSurf. This is
probably only for my personal use and it took a while to get it working
until I remembered NetSurf's sodding camel-case!

Apart from that I am very pleased that here, WebJames+PHP can take a 185
line, eight-column CSV file and sort it, serve the result to NetSurf
which can now actually cope with the layout foibles. No quite the 'blink
of an eye' speed of my ISP's hosting though.

Still under development: trying to display two CSV files in 24 different
ways and not shut out our less capable browser. No javascript required!
PHP does the donkey work. :-)

www.youngtheatre.co.uk/archive/list

Feedback on the NetSurf or other outcomes always welcome.

--

Tim Hill

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

No comments:

Post a Comment