Go Back   Dynamic Drive Forums > General Coding > CSS
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-14-2006, 10:31 AM
BLiZZaRD's Avatar
BLiZZaRD BLiZZaRD is offline
Elite Coders
 
Join Date: Aug 2005
Location: Other Side of My Monitor
Posts: 3,158
Thanks: 1
Thanked 62 Times in 62 Posts
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!
Reply With Quote
  #2  
Old 12-14-2006, 10:50 AM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 18,999
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
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).
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
  #3  
Old 12-14-2006, 10:51 AM
Twey's Avatar
Twey Twey is offline
Modtoreador
 
Join Date: Jun 2005
Location: 英国
Posts: 11,933
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!
Reply With Quote
  #4  
Old 12-14-2006, 10:52 AM
BLiZZaRD's Avatar
BLiZZaRD BLiZZaRD is offline
Elite Coders
 
Join Date: Aug 2005
Location: Other Side of My Monitor
Posts: 3,158
Thanks: 1
Thanked 62 Times in 62 Posts
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
Reply With Quote
  #5  
Old 12-14-2006, 05:36 PM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 18,999
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
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.
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
  #6  
Old 12-15-2006, 08:45 AM
BLiZZaRD's Avatar
BLiZZaRD BLiZZaRD is offline
Elite Coders
 
Join Date: Aug 2005
Location: Other Side of My Monitor
Posts: 3,158
Thanks: 1
Thanked 62 Times in 62 Posts
Default

Thanks for that, word wrap was on, indeed... will look again now!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:10 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.