Writing CSS style data to a page via ethernet shield

I have just opened the port up if you want to take a look, it will be powered up for the next hour or so, its strange that it takes a double click to change state and load the different button http://92.27.149.24

If I use text links for on/off instead of image, the state changes correctly on every click :astonished:

Serial output..

server LED test 1.0
GET /?lightAon HTTP/1.1

Light A On
GET /favicon.ico HTTP/1.1

GET /?lightAon HTTP/1.1

Light A On
GET /favicon.ico HTTP/1.1

GET /?lightAoff HTTP/1.1

Light A Off
GET /favicon.ico HTTP/1.1

GET /?lightAoff HTTP/1.1

Light A Off
GET /favicon.ico HTTP/1.1

GET /?lightAon HTTP/1.1

Light A On
GET /favicon.ico HTTP/1.1

GET /?lightAon HTTP/1.1

Light A On
GET /favicon.ico HTTP/1.1

Not sure why / where its trying to pull a favicon from?

PeterH, thanks for pointing out those errors / improvements, much appreciated!