It-Alien
(It-Alien)
July 15, 2010, 1:18pm
1
I’m developing a website so I have constantly opened the Javascript error console of Firefox, so I have noticed the following warning when opening Renoise forums:
Warning: a Colour was expected, found ‘f2f2f2’.
Source file: http://www.renoise.com/board/index.php?app=forums&module=post§ion=post&do=new_post&f=4
Line: 2640
there are indeed a couple of background-color directives in which there is “f2f2f2” as value instead of “#f2f2f2 ”
insane
(allie)
July 15, 2010, 1:32pm
2
Havn’t noticed when posting new.
Garf
(Garf)
July 15, 2010, 1:34pm
3
LOL - You are such a geek… Firebug catch some other error in the CSS file, like a semi colon is used to seperate fonts, but still looks good though
It-Alien
(It-Alien)
July 15, 2010, 1:38pm
4
yeah, I have noticed the column warning right now. I just wanted to know how the forum looked with the right color
Conner_Bw
(Conner_Bw)
July 15, 2010, 2:06pm
5
Warnings are parsed, the browser will compensate for sloppy.
It-Alien
(It-Alien)
July 15, 2010, 2:13pm
6
if by “compensate” you mean that the browser will automatically add the “#” at the beginning, the last part of the warning specifically stated that the directive would have been ignored
Conner_Bw
(Conner_Bw)
July 15, 2010, 2:45pm
7
Well, depends on the browser… But I’ll assume you are using Firefox due to the whole FireBug thing. So, my mistake.
Also, the warning is for the attachment manager (e.g. #attachments li), which is never used in the example URL you provided… Or used, ever?
PS: The forums index generates 13+ warnings in FireFox (Tools -> Error Console)… Most of the time it’s just CSS hacks and garbage.
But yeah, I’m not against fixing them. I was just trying to point out that it’s not a big deal.
Johann
(Johann)
July 15, 2010, 3:12pm
8
if anything really screams for fixing, I’d say it’s the huge blob inline CSS on every page… now that’s is some seriously not slim HTML haha.
It-Alien
(It-Alien)
July 15, 2010, 3:35pm
9
well, this thread proved to be useful after all
It-Alien
(It-Alien)
July 15, 2010, 3:41pm
10
take your time, I’ll be bitching about this again every now and then