Roger Stokes wrote:
I would be grateful for advice on a small problem with "Learning J".

The HTML is set up to display the J code
in the examples in blue,  for a better appearance.

This used to work, until recently. The problem is that I haven't changed
anything in the HTML but the J code now displays in black.

My guess is that my browsers have updated themselves, both IE and Firefox,
so that what used to work is now invalid somehow.

I have made a very small example and validated it with the W3C HTML validation service and also the CSS validation service. It is reported as error free, but it demonstrates
that in my embedded style sheet,
the font-size attribute is effective, but the color attribute is not.

This is demonstrated at http://www.rogerstokes.free-online.co.uk/test/example.htm

The HTML source is as below. Any advice would be much appreciated.

Regards,

Roger

Roger,
I tried your example as a local HTML file in both IE 6 and Firefox 1.5.0.9 under WinXP. I also tried your link in IE. They all looked fine, the first line was black, the next two were blue.
--
Regards,
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to