- From: Christian Ræbild <craebild@parknet.dk>
- Date: Sun, 01 Mar 2009 19:31:14 +0100
- To: www-amaya <www-amaya@w3.org>
When defining colours, it is best to use the hex code rather than the name. You can see the colours and hex codes of the colours that are certain to display correctly in all browsers here: http://home20.inet.tele.dk/craebild/test_browsersafe_backgrounds.html You need Javascript enabled to see the colours, I did not want to take the time to write all that code myself when I could generate it with a few lines of Javascript. -- Med venlig hilsen / Best regards / Mit freundlichen Grüßen Christian Ræbild / Christian Raebild Helder Magalhães wrote: > Hi Hugh, > > >> I have been attempting to debug a problem (with colours not showing >> up) on an internal server. >> > > This is somehow weird. Could you explain this better, possibly by > attaching a code snipped or a working URL? By the way, note that > although there are lots of color names in HTML [1] which some browsers > recognize, «HTML and CSS standards have listed only 16 valid color > names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, > olive, purple, red, silver, teal, white, and yellow.» [1]. > > > >> I've tried a number of browsers, >> (Firefox, internet explorer and Opera) but when I remembered Amaya >> is more rigorous, I tried that. >> > > Other browsers usually also detect and record the set of found > problems. In Firefox, for example, the list can be found in "Tools" > menu, "Error Console" option (you may want to clear the message list > before loading the page which you are trying to debug). ;-) > > > >> It detected bugs in the HTML, but also it gave me a message about too many redirects. >> > [...] > >> I can't find any means of turning this error detection off. >> > > I'm convinced you really don't want to. Such a high number of > redirects is generally a bad idea for several reasons: > * It will cause a significant perceived slow down to your page(s) [1]; > * It may cause old or less standard browsers from accessing your site. > > > >> Looks like I didn't rspond to the permission question fast enough. >> Retrying this. First attempt: Fri, 27 Feb 2009 15:12:49 +0000 (GMT) >> > > I'm not able to understand this text portion. Again, could you detail > a bit, maybe with examples in order to make things clear? > > > Hope this helps, > Helder Magalhães > > > [1] http://www.w3schools.com/HTML/html_colornames.asp > [2] http://developer.yahoo.com/performance/rules.html#redirects > > >
Received on Sunday, 1 March 2009 18:31:55 UTC