Jump to content


VlexoFree Notice

Interviews will be open every Friday starting at 12am PDT and lasting for 24 hours.

- - - - -

Any of you follow the XHTM/CSS strict/transitonal formatting?


  • Please log in to reply
8 replies to this topic

#1 Jonathan J

Jonathan J

    Advanced Member

  • Pre-Members
  • 3,212 posts

Posted 22 December 2009 - 02:51 AM

Hey all,

I was just wondering, do any of you follow or take consideration into clean code, in terms that it is formatted in the way the web standard (W3C) allows through it's validator?

Transitional validator is a little more lienient and strict can sometimes be a pain to try and edit your code to the standards they expect, but do you go to those extra lengths to see your code validate? :)

I was just wondering on the web development aspects of this and in terms how widely it is used for the Vlexo Free service!


;) Can you moo like a cow? ;)

MOOOOO!

Posted Image

Current project: Armour.ws, ImageMoo.com Vlexo.com


Ad Bot


      #2 lsproc

      lsproc

        Advanced Member

      • Members
      • 210 posts

      Posted 22 December 2009 - 04:03 AM

      I use transitional myself as siteadvisor doesnt work properly on strict, but usually I go for strict.

      #3 Jonathan J

      Jonathan J

        Advanced Member

      • Pre-Members
      • 3,212 posts

      Posted 22 December 2009 - 12:25 PM

      View Postlsproc, on 22 December 2009 - 04:03 AM, said:

      I use transitional myself as siteadvisor doesnt work properly on strict, but usually I go for strict.


      That is odd why doesn't SiteAdvisor work properly with strict XHTML?

      Personally I try to adhere to the strict doctype - but when I can't be bothered I switch over to the transitional doctype. There is no real advantage except meeting the web-standard and of course having your website validating; which always feels good after minutes/hours of cleaning up code.


      ;) Can you moo like a cow? ;)

      MOOOOO!

      Posted Image

      Current project: Armour.ws, ImageMoo.com Vlexo.com


      #4 lsproc

      lsproc

        Advanced Member

      • Members
      • 210 posts

      Posted 22 December 2009 - 01:46 PM

      Mmm me post vanished.

      http://validator.w3.... Strict&group=0 << thats the output of validator for part of the site I run, maybe its just the template. Oh well - in the end of the day the rest validates and it looks fine on all browsers and I dont really feel its necessary to go the extra way in this case...

      #5 Jonathan J

      Jonathan J

        Advanced Member

      • Pre-Members
      • 3,212 posts

      Posted 22 December 2009 - 02:19 PM

      View Postlsproc, on 22 December 2009 - 01:46 PM, said:

      Mmm me post vanished.

      http://validator.w3.... Strict&group=0 << thats the output of validator for part of the site I run, maybe its just the template. Oh well - in the end of the day the rest validates and it looks fine on all browsers and I dont really feel its necessary to go the extra way in this case...


      Haha whoops. Sorry about that. It should be visible now. I was toying around with what the approve/disapprove button would do.

      Looking at that, it just looks as if that parts of the code (Elements) on your website does not follow the strict doctype, however the transitional doctype should work for that.

      But yeah, as long as it works I don't see why 'strict' is there unless of course you are extremely anal about meeting the W3C standards. :/

      Eli probably knows a lot about this. :P


      ;) Can you moo like a cow? ;)

      MOOOOO!

      Posted Image

      Current project: Armour.ws, ImageMoo.com Vlexo.com


      #6 Andrew

      Andrew

        Advanced Member

      • Pre-Members
      • 402 posts

      Posted 26 December 2009 - 06:17 PM

      The different doc types (transitional, loose, strict, etc) aren't there just to look pretty - they actually are there because they tell the browser how to render the page.

      I can tell you which doc types does what, but i'll do that a little later on :)
      Regards,
      Andrew

      Currently Unavailable


      #7 Eli L

      Eli L

        VlexoFree Owner

      • Owner
      • 6,950 posts
      • LocationWashington, USA

      Posted 26 December 2009 - 10:13 PM

      I like XHTML 1.1 because theres not transitional or strict or anything like that. But I'm looking forward to HTML5.

      Posted Image


      Please do not PM me for support (unless its a private matter). Instead, post in the appropriate forum and help will be provided accordingly.
      Helpful links: Terms of Service | Privacy Policy | Wiki - Tutorials & Help | VlexoFree Support |


      #8 a2h

      a2h

        Member

      • Members
      • 24 posts

      Posted 01 January 2010 - 12:57 AM

      I code in HTML 5 with XHTML style tag endings. Best of both worlds for me :)
      What do you call a cow that's fallen off a tree? A cow that's fallen off a tree.

      #9 juristprogrammet

      juristprogrammet

        Newbie

      • Pre-Members
      • 7 posts

      Posted 12 January 2010 - 09:25 AM

      View Posta2h, on 01 January 2010 - 12:57 AM, said:

      I code in HTML 5 with XHTML style tag endings. Best of both worlds for me :)

      Same here!

      I tried HTML5 + "normal" HTML (Essentially not closing <p> and <li>) but that messes up things, so I've gone to using sloppy "XHTML5" (for example, <section><p>Text</section> is just a bad idea since browsers don't know what the heck a section is).

      I get sloppy in the sense that I'm taking a pragmatic approach to my coding. I used to obsess over things like <br> but since it always works I don't really care anymore. The end result is a perhaps bastardized mutant between XHTML and HTML but I let the browsers care about that.




      1 user(s) are reading this topic

      0 members, 1 guests, 0 anonymous users