Click here to Skip to main content

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Message Other user using CodeProject PinmvpOriginalGriff27-Dec-12 22:00 
GeneralRe: Message Other user using CodeProject PinmemberSuvabrata Roy27-Dec-12 22:13 
GeneralRe: Message Other user using CodeProject PinmvpOriginalGriff27-Dec-12 22:23 
GeneralRe: Message Other user using CodeProject PinmemberSuvabrata Roy27-Dec-12 23:22 
GeneralRe: Message Other user using CodeProject PinmemberJan Steyn9-Jan-13 21:48 
GeneralRe: Message Other user using CodeProject PinmvpOriginalGriff9-Jan-13 22:06 
GeneralRe: Message Other user using CodeProject PinmemberProgramFOX26-Dec-12 3:46 
GeneralMake the font red! No, black! Can we do both? PinmemberAnalogNerd20-Dec-12 8:51 
I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.
 
    <span style="font-weight: normal; color: Red; font-size: 11pt; font-family: Arial">
        <span style="color: #000000">
            This paragraph is black! 
            
 
           <a href="" style="color:black">And this link is black!</a>
        </span>
        
 
        But this paragraph is red!
        
 
    </span>
    <span style="font-weight: normal; color: Red; font-size: 11pt; font-family: Arial">
        And this other text is red, but identical in every other way.
    </span>
 
Also, it goes without saying that I cleaned this up for the post. There's no rhyme or reason to the indentation and line breaks in this code.
GeneralRe: Make the font red! No, black! Can we do both? PinmemberRob Grainger20-Dec-12 9:21 
GeneralRe: Make the font red! No, black! Can we do both? PinmemberZac Greve20-Dec-12 11:23 
GeneralRe: Make the font red! No, black! Can we do both? Pinmemberjlopez78826-Dec-12 18:21 
GeneralRe: Make the font red! No, black! Can we do both? PinmemberMarcus Kramer27-Dec-12 6:23 
GeneralRe: Make the font red! No, black! Can we do both? PinmemberZac Greve30-Dec-12 12:08 
GeneralRe: Make the font red! No, black! Can we do both? PinmemberRob Grainger4-Jan-13 9:58 
GeneralVal Grind (the wrong kind) PinmemberRob Grainger20-Dec-12 5:12 
GeneralRe: Val Grind (the wrong kind) PinmemberNaerling20-Dec-12 10:40 
GeneralRe: Val Grind (the wrong kind) PinmemberNagy Vilmos20-Dec-12 22:55 
GeneralRe: Val Grind (the wrong kind) PinmemberBrady Kelly2-Jan-13 21:46 
GeneralRe: Val Grind (the wrong kind) PinmemberNagy Vilmos2-Jan-13 22:52 
GeneralRe: Val Grind (the wrong kind) PinmemberLesF4-Jan-13 9:51 
GeneralRe: Val Grind (the wrong kind) PinmemberRob Grainger4-Jan-13 10:09 
GeneralRe: Val Grind (the wrong kind) PinmemberNaerling4-Jan-13 11:56 
GeneralRe: Val Grind (the wrong kind) PinmemberMember 46088986-Jan-13 11:45 
GeneralRe: Val Grind (the wrong kind) PinmemberNaerling6-Jan-13 12:26 
GeneralRe: Val Grind (the wrong kind) PinmemberChris Quinn24-Dec-12 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 11 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid