Results 1 to 6 of 6

Thread: Line Count online?

  1. #1
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default Line Count online?

    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!
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Even Notepad, I believe, has an Edit->Go To Line... feature.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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 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
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by BLiZZaRD View Post
    @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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Thanks for that, word wrap was on, indeed... will look again now!
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •