1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

I saw some pretty templates here that is not a valid HTML /XHTML, I used W3C to validate some of the templates and Im wondering why still accepted and labeled as Valid HTML “Yes”, I think TF should be strict on this. BTW Im just wondering.

2529 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Blog Editor
  • Bought between 50 and 99 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
+6 more
JeffreyWay says

There are a few instances where I’ll personally accept a template if it isn’t valid CSS . Many people use some browser specific stylings in their themes – like:

-moz-border-radius: 25px;

A stylesheet won’t validate because of this line. But, I’ll still accept it.

Can you email me a link to one of the templates that doesn’t have valid HTML ? nettutsblog@gmail.com

Thanks

34 posts
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 5-6 years
  • United Kingdom
  • Referred between 200 and 499 users
  • Bought between 1 and 9 items
Amanda says

I just wanted to mention here that Blogger templates (the XML based, widgetized style) are IMPOSSIBLE to create with valid XHTML /HTML. That is, the templates themselves may be valid, but when generated as an active blog (seen in the browser), the generated pages are invalid.

Believe me, I’m not just saying this because I design Blogger templates to sell here!

The reason is because Blogger generates extra code in the source which is formed server-side (not from the template code) and is invalid.

This extra code is generated to make all widgetized sections function, and can mostly be seen near the bottom of the source code for each generated page.

We have no control over this extra code, and even though most Blogger users would prefer to be able to create valid HTML in their blogs, it doesn’t seem that this issue will be remedied any time soon.

Classic Blogger templates (non-widgetized) can be made to have valid HTML when generated. However, Blogger is decreasing support for this type of template, and most Blogger users prefer the widgetized versions anyway.

I do hope this will not affect the Blogger templates which some of us design for Theme Forest!?

Jeffrey, please let me know if you need any more info about this in regard to Blogger.

171 posts
  • Sold between 10 000 and 50 000 dollars
  • Referred between 100 and 199 users
  • Bought between 100 and 499 items
  • Has been a member for 5-6 years
  • Exclusive Author
  • United States
clarklab says

^ The same thing happens when you embed widgets from flickr. My personal blog template is 100% valid but because of my flickr photos in the sidebar it throws tons of errors when you try to validate.

2529 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Blog Editor
  • Bought between 50 and 99 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
+6 more
JeffreyWay says

That’s interesting to hear about Flickr. That’s why I rarely use the provided widgets. It’s always better to work with the API yourself.

Speaking of which; Does anyone want to write a quick tut for the blog that shows how to display your Flickr photos on a template (without using Flickr’s provided widget, of course.)? We’ll pay you $60.

Email me at sitemanager@themeforest.net if interested. PHP would probably be best – considering its popularity on this site.

68 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 7-8 years
  • Referred between 200 and 499 users
  • Sold between 10 000 and 50 000 dollars
rblalock says

my understanding of a valid XHTML /CSS is that the main, core code is standard.

If there are things like moz-border, -webkit..., etc. This doesn’t matter as it is just browser specific.

The main point that should be taken on this is that the structural code itself it correct.

323 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 7-8 years
  • Referred between 10 and 49 users
  • Sold between 10 000 and 50 000 dollars
  • United States
  • Won a Competition
shadow66142000 says

I would agree validating your templates is really important but as always there is exceptions to any rule. I get an error for not declaring the size of my textarea in forms with row/col using strict XHTML but made a conscious decision to have that done in the stylesheet. I think it makes it a bit easier for potential buyers to modify the template.

2541 posts
  • United States
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 5-6 years
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
+4 more
CreatingDrew says

@Shadow- Couldnt you just insert the rows and cols and leave them blank and then style with css :)

Or will this not validate under strict?

Regards, Drew

by
by
by
by
by
by