RE: [WSG] .NET generate horrible html, i need some lights
Gaspar wrote: > I've been reading some stuff of Ms, > http://msdn2.microsoft.com/en-us/library/aa479043.aspx. > > We use both .net 2 and 1 or 1.1, i think they dont care much about if > a menu is tables inside a table but i fighting against taht proving > that the weight is 3 /5 times more and semantic of elements. > > but first i want to understand what can i do to help they sow i want > to learn all about compliant ASP. These CSS control adaptors change the html output of default controls, such as menu http://www.asp.net/cssadapters/ > Jason i dont understand quite well what does this.. > > "Due to adaptive rendering, if you want to validate using W3C validator > add > the following file (remove .txt) to a directory called App_Browsers > http://idunno.org/misc/w3cvalidator.browser.txt"; Depending what browser or internet device the ASP.NET site is accessed with the X/HTML code can change, the W3C validator is not recognised as a 'high level' browser so the markup rendered is at times invalid, the reason being to be compatible with older browsers http://idunno.org/archive/2005/01/01/216.aspx Regards Jason *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] .NET generate horrible html, i need some lights
I've been reading some stuff of Ms, http://msdn2.microsoft.com/en-us/library/aa479043.aspx. We use both .net 2 and 1 or 1.1, i think they dont care much about if a menu is tables inside a table but i fighting against taht proving that the weight is 3 /5 times more and semantic of elements. but first i want to understand what can i do to help they sow i want to learn all about compliant ASP. Jason i dont understand quite well what does this.. "Due to adaptive rendering, if you want to validate using W3C validator add the following file (remove .txt) to a directory called App_Browsers http://idunno.org/misc/w3cvalidator.browser.txt"; Validates the code no need to rendering the code in browers? Thanks to everyone Gaspar *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] .NET generate horrible html, i need some lights
Hi Gaspar, Looks like you guys are still using Visual Studio 2003, therefore .NET 1.1. You should consider moving up to VS 2005 and .NET 2.0 as the standards support is much better. Ben On 12/03/07, Gaspar <[EMAIL PROTECTED]> wrote: Hello everyone, I always work with PHP, use it to output my (x)HTML in the way i want. Now a get to a agency that only work with ASP, i just can believe that there's no way to avoid runnet"_server", IDs with 1000 characters, the some IDs on , values of forms with 50lines height, and the form at the start that dont let me usa any Strict Language. Iam not good with ASP, many of the functions i dont understand, i do know that some of this points are easy to change but others like the bigs ID. Iam working with the interface/html team and maybe the team that build the aplications wouldn be so open to that changes, they say that is easiest and quicky putting the native elements of .net tham building, i believe that but and the others people that update or even the weight of pages. I just want to help change this, http://www.ispa.pt u could check the biggest value of a form that i see. Could someone give me some links or some stuff that someone without knowledge of ASP could help implementing some improves generate GOOD (X)HTML Many thanks, Gaspar I have already have found some: http://www.charon.co.uk/content.aspx?CategoryID=28&ArticleID=53 http://weblogs.asp.net/scottgu/archive/2007/02/20/asp-net-ajax-and-sharepoint.aspx http://www.webstandards.org/2004/10/08/aspnet-standards-part-ii/ http://www.aspnetresources.com/articles/default.aspx http://www.aspnetresources.com/articles/HttpFilters.aspx -- Make it simple for the people -- http://www.artideias.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] .NET generate horrible html, i need some lights
Gaspar wrote: > Could someone give me some links or some stuff that someone without > knowledge of ASP could help implementing some improves generate GOOD > (X)HTML What version of .NET are you using? There is a big difference between 1.0 & 2.0. These following links apply to version 2.0 http://msdn2.microsoft.com/en-us/library/exc57y7e.aspx http://msdn2.microsoft.com/en-us/library/aa479043.aspx Change the conformance to strict in the web.config Due to adaptive rendering, if you want to validate using W3C validator add the following file (remove .txt) to a directory called App_Browsers http://idunno.org/misc/w3cvalidator.browser.txt Regards Jason *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] .NET generate horrible html, i need some lights
On 3/12/07, Gaspar <[EMAIL PROTECTED]> wrote: Iam working with the interface/html team and maybe the team that build the aplications wouldn be so open to that changes, they say that is easiest and quicky putting the native elements of .net tham building, They're absolutely right, it is easier. That doesn't make it the right thing to do though. Now, I'm no server-side programmer, but I get to work with .net quite a lot. It's got a lot of "features" that make me want to stove someone's head in with a shovel (the enourmous viewstate, smartnav, one form per page, table controls that strip out summary attributes and elements, etc), but when a programmer knows what they're doing, it's perfectly possible to get it to output nicer code. There's all sorts of tricks, such as rewriting the HTML by overriding the render method. By the sounds of it, your biggest hurdle is going to be the programmers. They need educating in the ways of the web. Once you've won them over, you're halfway there. It may be that you have to bite the bullet and make the best of what you've got though. -- Olly http://thinkdrastic.net/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***