Jump to content


Welcome to IPS!

Feel free to browse our community to get a feel for how our community software operates. Post in the pre-sales forum with any questions you have before purchasing or use the Test Posting forum to post a few messages yourself! You can also get a free demo to try the IPS Community Suite yourself.

Already an active IPS client?

Login with the same email address and password you use for the client area to access client-only areas.

- - - - -

Validate default theme?


  • Please log in to reply
5 replies to this topic

#1 CMSTheme

CMSTheme

    IPB Newbie

  • Members
  • Pip
  • 8 posts

Posted 01 July 2009 - 08:03 PM

I like the default theme fro IPB3 but it doesn't passed W3C validation. Example is:
<div class='classname'>lorem ipsum</div>
Instead of enclosing the classname with double quote, it's just a single quote which invalidate.

Any plans on updating the theme for W3C validation?

#2 EliteKiller

EliteKiller

    IPB Member

  • Members
  • PipPip
  • 64 posts

Posted 01 July 2009 - 08:16 PM

The default theme of the ipb 3 is valid XHTML 1.0 strict as you can see if you validate the page with the w3c validator.

You can use eighther single or double quotes.

Check out: http://www.w3.org/TR...#sec-common-syn



#3 Rikki

Rikki

    data-type='member title'

  • IPS Staff
  • 23,079 posts

Posted 01 July 2009 - 08:54 PM

Where did you read that single-quotes are invalid? :)
Rikki Tissier - Administrator & IPS Designer/Developer
I have it on good authority that if you type "Google" into Google, you can break the internet.

My flickr photos

#4 CMSTheme

CMSTheme

    IPB Newbie

  • Members
  • Pip
  • 8 posts

Posted 02 July 2009 - 01:34 AM

Seems like I'm still living under the cave :(

Perhaps I am misguided ever since I'm into XHTML by the writings and beliefs that only double quotes are allowed. Or the phrase "attribute values must be quoted" got me into confusion because by the word "quoted", what comes to my mind is a double quote. I also read a section in which the examples uses double quotes, that also lead me to believe that only double quote is allowed.

Thanks EliteKiller fot the link, it cleared my wrong belief now. New lesson learned.

To Rikki and IPB team, my sincere apologies to you guys.

#5 Rikki

Rikki

    data-type='member title'

  • IPS Staff
  • 23,079 posts

Posted 02 July 2009 - 09:01 AM

No problem :) Since we're on the subject, almost every major page in IPB3 validates to strict. It's sometimes impossible to guarantee it though due to user-generated content. For example, when you posted this yesterday I was going to link to the validation confirmation for our board index, but there was a user online who had non-standard characters in their username, meaning it gave an error. Whereas right now, it's validating :)
Rikki Tissier - Administrator & IPS Designer/Developer
I have it on good authority that if you type "Google" into Google, you can break the internet.

My flickr photos

#6 tranceandy

tranceandy

    •–•

  • Members
  • PipPipPipPipPipPipPipPip
  • 8,514 posts

Posted 02 July 2009 - 10:27 AM

Good to know that IPB validates to 1.0 strict! Great work Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users