SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 32 of 32
  1. #26
    SitePoint Evangelist
    Join Date
    Jun 2011
    Location
    London UK
    Posts
    495
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    ...The page will view fine in IE6+ as I already mentioned and that's going back 11 years. ...
    Are you saying the fact that I can not open it in IE8 here, is definitely due to my computer?

  2. #27
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by benbob View Post
    Are you saying the fact that I can not open it in IE8 here, is definitely due to my computer?
    As long as you have changed the extension to .html it will open.

    If the page won't work open for you then that's another issue and we will need more info to debug further.

  3. #28
    SitePoint Evangelist
    Join Date
    Jun 2011
    Location
    London UK
    Posts
    495
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Took the x out of the suffix, and it opened in IE. Stick the x back in, and it opens in Firefox when I instruct to open in IE.

  4. #29
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,797
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by benbob View Post
    Took the x out of the suffix, and it opened in IE. Stick the x back in, and it opens in Firefox when I instruct to open in IE.
    Why are you still talking about the .xhtml extension? Forget you ever heard of it and just use .html (or .htm) . You don't need to know anything about it at this stage. Look through all the threads in the forums and you won't see a single one using .xhtml. You seem to have got caught up in something quite complicated that won't be relevant to you unless you are in to hard core programming and other very advanced techniques.

    Concentrate on the CSS and CSS layout techniques for now.

  5. #30
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Like we said the extension with regards to when on the server doesn't really matter: http://www.xhtmlcoder.com/beck/ uses *.xht extension though it could have equally been *.dog or an exotic *.Zebede extension I could get them all to render equally in your browser.

    The extension DOES NOT always determine the MIME you'll notice if you view those pages (online) using IE 8.0 or earlier you can still view them. Because the content negotiation is used; so MSIE gets 'text/html' instead and even IE 5.0 would understand that.

    The markup grammar is XHTML in both cases and nearly identical. The only difference when served as 'application/xhtml+xml' the XML Parser is triggered and it is treated as an application of XML.

    To me it sounds like you are talking about offline or download files. Like said unless you have a specific reason you should be safe with 'text/html' as most modern mobile devices can cope. In which case leave those XHTML Strict 1.0 files with the *.htm extension if you find it easier...

    As Paul said typically applying mobile friendly CSS will work fine if you want the content to be optimally viewed on most modern mobile devices.

  6. #31
    SitePoint Evangelist
    Join Date
    Jun 2011
    Location
    London UK
    Posts
    495
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    It seems that, at least at this stage, persuing Xhtml is more trouble than it's worth.
    Unless I find a miracle cure this week, I will abandon it and revert to html 4.01 with CSS3 whilst avoiding the use of any options that have compaitbility issues. Much of the advice givent in this thread is no doubt accuate and correct, but too far beyond my current capabilities.
    Maybe when my site revamp to vs 3.0 is finished and it all looks a lot better than today, can I spend time on mastering the magic of Xhtml.

  7. #32
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,598
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    XHTML is basically a waste of time unless you have a specific need for it, which is very rare. But as has been said, there's no problem using XHTML as long as you serve it up as text/html rather than application/xhtml+xml. That said, I agree that you are better off using HTML4 and upgrading to HTML5 when that becomes mainstream. (HTML5 will accommodate what XHTML does anyway.)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •