Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Make the font red! No, black! Can we do both?

Make the font red! No, black! Can we do both?

Scheduled Pinned Locked Moved The Weird and The Wonderful
rubyquestion
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AnalogNerd
    wrote on last edited by
    #1

    I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.

    This paragraph is black! 
              
           And this link is black!
        
          
        But this paragraph is red!
        
    
    And this other text is red, but identical in every other way.
    

    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.

    R B O F 4 Replies Last reply
    0
    • A AnalogNerd

      I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.

      This paragraph is black! 
                
             And this link is black!
          
            
          But this paragraph is red!
          
      
      And this other text is red, but identical in every other way.
      

      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.

      R Offline
      R Offline
      Rob Grainger
      wrote on last edited by
      #2

      AnalogNerd wrote:

      There's no rhyme or reason to the indentation and line breaks in this code.

      I feel your pain.

      1 Reply Last reply
      0
      • A AnalogNerd

        I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.

        This paragraph is black! 
                  
               And this link is black!
            
              
            But this paragraph is red!
            
        
        And this other text is red, but identical in every other way.
        

        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.

        B Offline
        B Offline
        Brisingr Aerowing
        wrote on last edited by
        #3

        throw new ProgrammerIsAnIdiotException("ID-TEN-T ERROR", new BrainException("Brain Not Found", ErrorCodes.NotFound)); // ErrorCodes.NotFound == 404

        Bob Dole

        The internet is a great way to get on the net.

        :doh: 2.0.82.7292 SP6a

        1 Reply Last reply
        0
        • A AnalogNerd

          I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.

          This paragraph is black! 
                    
                 And this link is black!
              
                
              But this paragraph is red!
              
          
          And this other text is red, but identical in every other way.
          

          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.

          O Offline
          O Offline
          onelopez
          wrote on last edited by
          #4

          Try adding some table layout to that HTML code and you got something of which I find at work every day. Ohh... if that wasn't bad enough... try adding some random UI logic in classic ASP! Fun stuff!

          1 Reply Last reply
          0
          • A AnalogNerd

            I just found this little gem in the same app I'm rewriting. This legacy website is the gift that just keeps on giving.

            This paragraph is black! 
                      
                   And this link is black!
                
                  
                But this paragraph is red!
                
            
            And this other text is red, but identical in every other way.
            

            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.

            F Offline
            F Offline
            fjdiewornncalwe
            wrote on last edited by
            #5

            Looks to me like the code was generated by a tool... Wysiwyg html editors will often produce ridiculousness like this.

            I wasn't, now I am, then I won't be anymore.

            B R 2 Replies Last reply
            0
            • F fjdiewornncalwe

              Looks to me like the code was generated by a tool... Wysiwyg html editors will often produce ridiculousness like this.

              I wasn't, now I am, then I won't be anymore.

              B Offline
              B Offline
              Brisingr Aerowing
              wrote on last edited by
              #6

              Marcus Kramer wrote:

              Looks to me like the code was generated by a tool...
               
              Wysiwyg html editors will often produce ridiculousness like this.

              <blockquote class="FQ"><div class="FQA">Marcus Kramer wrote:</div><table class="quick" cellspacing="0" cellpadding="5" width="100%">
              <tbody><tr><td id="prevMsgCnt"><div id="ctl00_MC_PrevContent">Looks to me like the code was generated by a tool...<br>
               <br>
              Wysiwyg html editors will often produce ridiculousness like this.</div></td></tr></tbody></table></blockquote>

              I was about to remove the WYSIWYG line, but decided not to when I saw the quote code. (Listed above for reference) X|

              Bob Dole

              The internet is a great way to get on the net.

              :doh: 2.0.82.7292 SP6a

              1 Reply Last reply
              0
              • F fjdiewornncalwe

                Looks to me like the code was generated by a tool... Wysiwyg html editors will often produce ridiculousness like this.

                I wasn't, now I am, then I won't be anymore.

                R Offline
                R Offline
                Rob Grainger
                wrote on last edited by
                #7

                Marcus Kramer wrote:

                Looks to me like the code was generated by a tool...

                Yes, a right tool. ;-)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups