|
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!
<br/>
<a href="" style="color:black">And this link is black!</a>
</span>
<br/>
But this paragraph is red!
<br/>
</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.
|
|
|
|
|
AnalogNerd wrote: There's no rhyme or reason to the indentation and line breaks in this code.
I feel your pain.
|
|
|
|
|
throw new ProgrammerIsAnIdiotException("ID-TEN-T ERROR", new BrainException("Brain Not Found", ErrorCodes.NotFound));
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
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!
|
|
|
|
|
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.
|
|
|
|
|
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)
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Marcus Kramer wrote: Looks to me like the code was generated by a tool...
Yes, a right tool.
|
|
|
|