Which Document Type strict Or Transitional for cross-browser compatibility

Discussion in 'HTML & Website Design' started by designs12901, Mar 28, 2007.

  1. #1
    I'm lost when it comes to picking which of these documents types
    to use for building web pages.

    I know there's a lot of problems with cross-browser compatibility issues
    so before I start building web pages which one is most likely to cause
    the least amount of problems

    Strict or Transitional, can someone post the code for me to use at
    the top of my pages.
     
    designs12901, Mar 28, 2007 IP
  2. Sam Granger

    Sam Granger Well-Known Member

    Messages:
    248
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #2
    Transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    Sam Granger, Mar 28, 2007 IP
  3. designs12901

    designs12901 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right now I'm using a Selida which has a wysiwyg design mode.

    Do you still think Transitional is the way to go for designing in
    wysiwyg mode.

    I know I should learn code but for now I just need to get a simple
    web page up on my site.
     
    designs12901, Mar 28, 2007 IP
  4. TheLimeDesign

    TheLimeDesign Well-Known Member

    Messages:
    504
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Transitional is what you should go for..Need a Transitional coder? I can do the job for you :)

    WYSIWYG systems are varied..If they have composed it with a perfect set of rules, you might just go around it perfectly..But I can assure you, if you are concerned over cross-browser compatibility, don't use WYSIWYG stuff :) Learn coding - or get a coder :)
     
    TheLimeDesign, Mar 22, 2009 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    Cross compatibility has nothing to do with which doctype you use. All new pages should use the strict doctype. No one ever has a need for transitional on new pages. So the choice is clear. Use this one:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    and let no one ever tell you different.

    If, for whatever reason, you think you have to use XHTML (few people do), here is XHTMLs version:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     
    drhowarddrfine, Mar 22, 2009 IP