Log in

View Full Version : Line Count online?



BLiZZaRD
12-14-2006, 10:31 AM
Is there an online resource that will list the line numbers of my CSS?

For example, if I have a warning/error on line 178, the W3 doesn't list which line 178 is.. how can I find that line without manually counting each one?

Thanks!

jscheuer1
12-14-2006, 10:50 AM
I deal with this issue using my text editor (Edit Pad Pro) which, like many others, either lists the line numbers in the file while displaying its contents and/or can be made to do so at the touch of a button combo (shift F11 in the case of EPP).

Twey
12-14-2006, 10:51 AM
Even Notepad, I believe, has an Edit->Go To Line... feature.

BLiZZaRD
12-14-2006, 10:52 AM
Yes, and I have quite a few such applications on my computer at home, but I am at work and would like to find these lines, and my boss has already frowned on me dowloading and installing proggies on this computer :D That's why I was looking for an online tool.

If there isn't one I can wait til I get home.


<edit> @Twey... I tried that, but I don't think line 117 in my CSS is 117 in notepad. It took me to a blank line inbetween a } and a { LOL

jscheuer1
12-14-2006, 05:36 PM
@Twey... I tried that, but I don't think line 117 in my CSS is 117 in notepad. It took me to a blank line inbetween a } and a { LOL

I just tried it and it worked fine, make sure 'word wrap' is off first.

Sometimes the W3c lists a line not exactly where editing would fix the problem and, with long lines, the character number is very important and, W3c often points to a different part of the problem than one might be expecting.

BLiZZaRD
12-15-2006, 08:45 AM
Thanks for that, word wrap was on, indeed... will look again now!