943,846 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Sep 5th, 2007
0

Re: Propose HTML + Javascript code formatting

I am seeing the line numbers overlapping on some of these. See post 6.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Sep 5th, 2007
0

Re: Propose HTML + Javascript code formatting

I'm not sure what you mean. Can you take a screenshot?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

Here it is. Look at the code area. The line numbers are overlapping.

I have Firefox 2.0.0.6 on Windows XP, resolution 1152 X 864.
Attached Thumbnails
Click image for larger version

Name:	numover.jpg
Views:	6
Size:	48.0 KB
ID:	4030  
Last edited by MidiMagic; Sep 6th, 2007 at 7:19 pm.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

Does this happen when there are multiple lines of code? Every line overlaps?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

In Opera, I only see a single line ( and single line number ) in my posted codeblock..

But, there's a superfluous <li> in the HTML close to the screwy '</span</span>' part.. So, there should really be another line number shown.

In Firefox 2, I see the same as MidiMagic, a pair of line numbers, with one over the other; but ONLY in this (unfinished quote) case and normally they are absolutely fine.

The browsers are dealing with the bad bit of data differently, which is unsuprising really, since 'correct' behaviour isn't defined. Opera hides the next <li> and spills blue from the unclosed quote to the end of the Daniweb page, Firefox squashes the next <li> and continues as per usual.

I thought there'd be quite a simple explanation, like the parser starting a blue span and not closing it.. that's what it looks like in Opera. Personally, I wouldn't rank this problem as 'high priority' if you're having trouble nailing it down.. It doesn't seem to be exploitable.
Last edited by MattEvans; Sep 6th, 2007 at 9:11 pm.
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

Oh I forgot to mention, I fixed the problem (I think) yesterday but it only applies to new posts. Testing testing ...

html Syntax (Toggle Plain Text)
  1. <a href="

std::string hello( "hi
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

It blued out for me again, see attached. My post wasn't showing blue until you started it all over again =P.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Propose HTML + Javascript code formatting - DaniWeb Community Feedback - Opera.png
Views:	5
Size:	203.6 KB
ID:	4031  
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

Click to Expand / Collapse  Quote originally posted by cscgal ...
Oh I forgot to mention, I fixed the problem (I think) yesterday but it only applies to new posts. Testing testing ...

html Syntax (Toggle Plain Text)
  1. <a href="

std::string hello( "hi
It did it only on the last two lines, and then only if the last line was empty.

These are OK.
Last edited by MidiMagic; Sep 6th, 2007 at 10:42 pm.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Sep 6th, 2007
0

Re: Propose HTML + Javascript code formatting

Click to Expand / Collapse  Quote originally posted by MattEvans ...
It blued out for me again, see attached. My post wasn't showing blue until you started it all over again =P.
I haven't seen this blue at all in Firefox.

Something is bloo-ey.

Since it involves busted span tags, maybe we should call this bloo problem "span spam."
Last edited by MidiMagic; Sep 6th, 2007 at 10:38 pm.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in DaniWeb Community Feedback Forum Timeline: Cursor is disappearing
Next Thread in DaniWeb Community Feedback Forum Timeline: Advanced Search





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC