Wed 03 Sep 2003

Well, I don't get that...

I've been putting in my browser-detecting CSS-switching code, which works fine. Except... the PHP that generates this page doesn't like it.

The problem is that IE renders text bigger than any other browser - so a 'small' text comes out as 'medium'. So you have to change every size tag in a special IE CSS file to the next one down.
When I put this code into the PHP file, it came out one size too small. Taking it out again made everything work - so it seems that PHP fixes the font sizes during processing, or I have some benevolent gremlin on the web server.

I have a terribly sore throat. Blast.

Posted at 2003-09-03 05:28:00 by RichardLink to Well, I don't get …
Comments, trackbacks.

Google
Web holygoat.co.uk
  • richard is: