|
I (with FF) see empty lines everywhere.
I (with IE7) see only one empty line (5-6)
As I said before, it is an IE rendering issue, your input is fine, even with IE.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
So it seems. Or it could be a CSS problem, but what do I know?
|
|
|
|
|
Alright, things are going crazy, and it's not just me. Might the editor be removing SPACEs in some cases?
|
|
|
|
|
I just received an email from a reader of my article Font Survey: 42 of the Best Monospaced Programming Fonts. The email message started with the line "[reader] has posted a new comment at "Article "Font Survey: 30 of the Best Programming Fonts"". (My underlining). Obviously the CP email generator is picking up the initial title of the article, rather than the current title.
|
|
|
|
|
Thanks Hans.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
I don't see a simple solution to this, but there seem to be more and more examples of people posting large amounts of code in their questions, but without using the <pre> tags. In odd cases I take a look and see if I can help, but more often than not I just ignore it because it is so difficult to read, and I can't even be bothered to copy and paste into the IDE to compile it.
Unfortunately many of these questions are still getting resolved, so the OP thinks that formatting their code is not important, and continues to post their questions in this lazy manner.
Suggestions, comments, flames(preferably not)?
|
|
|
|
|
Allowing others to edit poorly written / posed questions is an option.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Yes, and possibly not a bad option. I was more concerned with how we get posters to realise that they are not doing themselves any favours by not doing it. Refusing to acknowledge their posts is one way but seems a bit harsh, and would probably cause more damage to the great reputation of The Code Project.
Just venting my spleen after a few frustrating moments really
|
|
|
|
|
when code is not in a monospaced font, and not indented at all, I skip it. Period.
IMO readability is the first step to correctness; it is also a first requirement for getting help.
It isn't hard to do it right; and half the time, I advise using PRE blocks through my sig.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
A "view source" button/link might be of use. That way, you can see what they typed without all the funkiness that HTML might do to code that is not in PRE tags or that was not HTML encoded. And if that view allowed the user to preview but not save the message, even better. Then we can just toss in some PRE tags, click "preview" and see everything well formatted. And preventing others from actually being able to modify the post would avoid issues of some users modifying others' posts to suit their fancy.
Visual Studio is an excellent GUIIDE.
|
|
|
|
|
When the article is rated 'Poor', a quick textbox pops up prompting for the reason and the subject is like 'My vote of 1'.
My concern is after submitting this, the webpage should do any of the following:
1) Make the comment appear on the page immediately using some DOM manipulation trick.
2) Reload the page.
Or at least a plain polite message replacing the voting control panel stating that 'Your vote and associated comments have been registered. Please reload the page'.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Already listed here[^].
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
At times I admit that truant weeds needs to be cleared from the beautiful garden called CP forums. I feel that the current cleanup process is rather incomplete. Check out the following link:
http://www.codeproject.com/script/Membership/View.aspx?mid=3249451[^]
It says 'Unable to load the requested member's information.' but just a few lines above it, it is able to spell out the user's name:
Member Profile: Emil - Gabriel
Can something be done to fill the gaps?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
That member was removed for trolling the lounge.
It's been discussed a few threads back what to do with the message since it indicates a bug while it actually is a removed account.
|
|
|
|
|
Tom Deketelaere wrote: That member was removed for trolling the lounge.
Yes Tom. I actually followed his profile URL only from that thread and only after that I observed this bug.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
K
|
|
|
|
|
Whilst posting the observation in "HTML Emitted in Forums List Page", I felt that 'code block' and 'inline code' does not help in certain cases in providing a light indentation without syntax coloring effects.
I would say something like Google Mail's blockquoting trick to be a more effective tool for the purpose.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Is someone else seeing this issue too?
Page: http://www.codeproject.com/script/Forums/List.aspx[^]
CTRL+F to 'Article Writing'. In the description column, you can see something like below:
Discuss writing articles, add your requests for articles here, or search for ideas for a new article. <span style="color:red;font-weight:bold">Do not post programming questions here</span>
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Fixed.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
Unfortunately that service was discontinued back in the time of Adam.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
Hi Chris,
for some of the articles I'm writing I need more background color facilities than you currently support.
1.
When discussing several programming languages in a single article, I would like to give code snippets (i.e. PRE blocks) different background colors according to their language. I'm interested in a greenish background (#DDFFDD) and a blueish background (#DDDDFF) which I typically use for VB.NET and C/C++ code; while doing so, I don't need any syntax coloring.
So my question is: could you support some keyword inside the PRE tag allowing background color selection, either as a number, or from a limited set. I don't need/want it linked to the language option, as I will often use lang="text" anyway.
Here[^] is a simple two-color example of what I mean; my upcoming P/Invoke articles will have many more snippets, needing three colors.
2.
[Of lesser importance] Sometimes I feel the need to highlight a few words in regular text. Example: when I applied my V1.1 revision to my LPTextFileDiff article, I wanted to highlight the changes with a yellow background, so I added some spans (e.g. <p><span style='background-color:yellow'>[New paragraph since V1.1]</span>...</p> ) which your article wizard promptly removed. Any solution would be welcomed.
[ADDED]
3.
I wouldn't mind having the above functionality available in messages too.
[/ADDED]
TIA
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
modified on Monday, September 21, 2009 4:38 PM
|
|
|
|
|
You can already do this in articles and messages:
This is a blue background
Just add the style="background-color:#DDDDFF" to the PRE block.
We also have some CSS classes you can use with span tags within PRE blocks:
This is a blue background
Use "<span class="highlight">blue</span>" for the highlight. The classes we offer for code highlighting are highlight and emphasis.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Is what you offer documented anywhere, or do we need to poke around in your css files to find it?
The latest nation. Procrastination.
|
|
|
|