About
Digital Colony is the technical web site for Michael Allen Smith of Seattle.
Tag Archives: XHTML
W3C Validation for ASP.NET Data Controls
If you’ve had the W3C Validator curse your ASP.NET 2.0 code for not being XHTML, it may not be your fault. The ASP.NET engines sees the W3C validator as down-level browser and renders non-XHTML compliant code. Your code is most … Continue reading
Converting HTML to XHTML Programmatically in .NET
The Pro Version of FreeTextBox has a neat feature that will clean up poorly written HTML to a cleaner XHTML. FreeTextBoxControls.FreeTextBox ftb = new FreeTextBoxControls.FreeTextBox(); string html = “<P><img src=joe.gif width=200 height=100 vspace=10>”; ftb.Text = html; string xhtml = ftb.Xhtml; … Continue reading
