Hi all I am fiddling with some CSS and DOM stuff in Koha and thus have the Error Console window opened in Firefox. As was discussed earlier on this list, excessive error and debug messages in the Apache error_log files make them almost unreadable. The same applies in the case of the CSS. There are so many errors in the CSS, as detected by Firefox, that it is difficult to scan through the lot looking for things I myself might have caused. Also, I get an uneasy feeling that the CSS is broken in places due to these errors and might be causing the problems I am having getting my additions to the CSS to work. Try it! Do a catalogue search in the staff area and bring up the Error Console window. You'll see what I am talking about. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services Tis the dream of each programmer before his life is done, To write three lines of APL and make the damn thing run.
Try it! Do a catalogue search in the staff area and bring up the Error Console window. You'll see what I am talking about.
When I look at the Error Console from the staff client search results page I see a lot of warnings. Most if not all of them are warning of non-standard declarations in the CSS, things like "star hacks" to accommodate Internet Explorer quirks ("*html #menu li"). I don't see any errors. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
To be clear, those are warnings, not errors. This is different in principle than debug messages since debug messages are ones you send to yourself. There is a case to be made for making CSS "perfect" according to Firefox, but in my opinion, not much of one. Testing a basic catalog search response page, Firefox/Firebug warns 9 times on a YUI css file, and 3 times on one from jquery. I consider these modules essential to Koha and would be against capriciously editing them just to please a validation scheme. For that matter, if we want to look at more strenuous validation, the w3c validator detects 373 errors and 707 warnings, again mostly with YUI (and a few with jquery): http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fatz.dev.kohalibrary.com%2Fcgi-bin%2Fkoha%2Fopac-search.pl%3Fq%3Dmoney&profile=css21&usermedium=all&warning=1&lang=en Unfortnately with CSS, I think this is just par for the course. --Joe On Mon, Nov 17, 2008 at 11:34 PM, Rick Welykochy <rick@praxis.com.au> wrote:
Hi all
I am fiddling with some CSS and DOM stuff in Koha and thus have the Error Console window opened in Firefox.
As was discussed earlier on this list, excessive error and debug messages in the Apache error_log files make them almost unreadable.
The same applies in the case of the CSS. There are so many errors in the CSS, as detected by Firefox, that it is difficult to scan through the lot looking for things I myself might have caused.
Also, I get an uneasy feeling that the CSS is broken in places due to these errors and might be causing the problems I am having getting my additions to the CSS to work.
Try it! Do a catalogue search in the staff area and bring up the Error Console window. You'll see what I am talking about.
cheers rickw -- _________________________________ Rick Welykochy || Praxis Services
participants (3)
-
Joe Atzberger -
Owen Leonard -
Rick Welykochy