Announcement

Collapse
No announcement yet.

Html Doc Types ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Html Doc Types ???

    Recently I have been looking on the W3C site with reards to standards and using logos such as their own compatibilty logos. I have also looked into identifing the html doc type so that the line can be added to the top line of the header page.

    the W3C has a tool that attempts to identify the doc type. It suggested that it was possible 4.01 Transitional. I then ran another scan telling it was 4.01 Transitional and it found lots of 96 errors.

    Does anyone know what Doc type Actinic builds the site in? Why doesn;'t Actinic write this in when it builds the pages?

    Once we have identified what type it is then how do I go about making sure all pages have it in the code?

    Thanks

    #2
    Firstly you will never get an Actinic site to fully validate but you can reduce errors to a handful.

    By default it adds

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    In v7 you need to add to your specific Act_Primary.html and Act_BrochurePrimary.html


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Jont thanks for your reply. Which version of Actinic do you work with as our version 7 software doesn't add in the doc type line as default.

      Thanks for the tip on where to add it though. Do you agree the 'Transitional' is the correct type to add?

      Comment


        #4
        V7 does add the doc type - I remember years ago trying to get V7 to validate and eventually got it down to 9 errors except for checkout. There is a big thread on it somewhere

        Comment


          #5
          I have just checked in v6 and v7 installations (v8 and v9 are also the same) and they show the doctype in there as default .. if missing add it back in before the opening <html> tag.

          Transitional is the way forward as more forgiving than strict.


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Originally posted by RuralWeb View Post
            There is a big thread on it somewhere
            It was started by a user with "magic" or "mystic" in the name (I need to get out more often)


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Originally posted by RuralWeb View Post
              V7 does add the doc type - I remember years ago trying to get V7 to validate and eventually got it down to 9 errors except for checkout. There is a big thread on it somewhere
              Well not on ours it doesn't. www.mxbits.com

              Is it an option to select rather than a default? I've seen other actinic sites without it as well and then saw some with suggesting it maybe an option rather than default.

              Comment


                #8
                Just checked a default V9 site and it shows only 16 errors so its far better than V7 was

                Comment


                  #9
                  Originally posted by jont View Post
                  It was started by a user with "magic" or "mystic" in the name (I need to get out more often)

                  thanks for that I'll get looking

                  Comment


                    #10
                    http://community.actinic.com/showthread.php?t=14742

                    Almost 3 years ago... how the hell did I remember that


                    Bikster
                    SellerDeck Designs and Responsive Themes

                    Comment


                      #11
                      Well not on ours it doesn't
                      Yours is not a standard actinic site so I would suggest that it was removed when the templates were edited as its default in the templates and can only be removed deliberately.

                      Comment


                        #12
                        how the hell did I remember that
                        You need to get out more - lego brain

                        Comment


                          #13
                          Originally posted by jont View Post
                          I have just checked in v6 and v7 installations (v8 and v9 are also the same) and they show the doctype in there as default .. if missing add it back in before the opening <html> tag.

                          Transitional is the way forward as more forgiving than strict.
                          Transitional it is then. Thanks!

                          Comment


                            #14
                            Originally posted by RuralWeb View Post
                            Yours is not a standard actinic site so I would suggest that it was removed when the templates were edited as its default in the templates and can only be removed deliberately.
                            Fair enough. Maybe it was me who deleted it in the early days although I don't remember doing it. All those long nights with reds eyes probably didn't help!

                            Comment


                              #15
                              I subscribe to the "if in doubt delete it out" philosophy myself when it is late


                              Bikster
                              SellerDeck Designs and Responsive Themes

                              Comment

                              Working...
                              X