|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 14
|
|
| Author |
|
|
Stranger Joined: Feb 15, 2008 Post Count: 8 Status: Offline |
Are iframes Firefox friendly? I remember way back yonder that they only worked with IE. If they work in all browsers, than that is a perfect solution. As for why I am using XHTML, I cannot find the specific article, but here is something that I had seen a few years back that caused me to start converting the page XHTML link Either way the experience was good since when I looked at my much earlier pages, I noticed some mistakes that while not visible on most browsers, was incorrect. I remember formatting text inside of a TD tag without closing it since the /TD tag would generally encapsulate the formatting. I think I did this years ago to make the page load quicker due to less bytes making up the page. I do know this is incorrect now, but I would have probably never changed this to be correct unless I noticed an issue on a browser or (as I did) convert to a standard. |
||
|
|
Advanced Member Texas, USA Joined: Dec 8, 2003 Post Count: 3020 Status: Offline |
Forget what you read there - for one, it's way old (2000) - and it starts out with two totally incorrect statements ---------------------------------------- ... |
||
|
|
Advanced Member Joined: Apr 2, 2005 Post Count: 2141 Status: Offline |
Themla and LSW are correct which brings us back to the solution...use Page Includes and it will work in all browsers and will validate in any DOCTYPEs whether it be HTML or XHTML....strict or transitional. ---------------------------------------- Success is based on how much you spend. If it's not money, then the alternative is your time. The Kasper Group |
||
|
|
Advanced Member USA Joined: Nov 27, 2003 Post Count: 6287 Status: Offline |
The thing is you are writing XHTML... but you are not serving XHTML, you are serving HTML. XHTML Must be served as XML as that is what it is, an XML language. HTML is a SGML language. You May serve XHTML 1.0 as "Tag Soup" HTML if it meets with Appendix C Requirements. But Only XHTML 1.0 XHTML 1.1 an only be served as XML. If you serve XHTML as XML, IE will puke, it cannot handle it. So you have to use another language like PHP to negotiate the MIME Type, serving HTML to IE and XHTML to all other browsers. Those browsers will stop loading the page at the first mistake leaving your user with a beg red XML error and no where to go. That is the real weakness of XHTML. There are also JS elements that will not work in XHTML, you have to use CDATA to comment out text, anything using <!-- --> will show in XHTML. If you do not see any of this, it is because you are serving HTML. If you are going to serve HTML, then you might as well use HTML, because otherwise you are serving poorly written HTML when you write XHTML. HTML is not dead, nor been replaced. HTML 4.05 and XHTML 1.0 were released as standards within moths of each other. Both are current standards. The idea that XHTML was replaceing HTML is just a falacy still quoted today, like the people who think XHTML is another version of HTML. No, XHTML is a XML language created for the sole purpose of allowing easier use of XML based languages like SVG and MathML. However XML has not been a big hit as expected and The poor support from IE that is not meant to change any time soon & the strictness and error handling of real XHTML make is all but useless in most web sites. No company can afford to have their web site not load at all. HTML is not dead and those in the industry realize that it will not due to the weakness of XHTML. HTML 5 development is proof of that. XHTML2 has some nice things in it, but it would meant the site is not backwards compatible which makes XHTML 2 somewhat questionable. But that is open at this point still and who knows maybe both will be accepted as standards. ---------------------------------------- Gu.aal kwsh� yak'�i it�akw ijeet wugood�k LSW-WebDesign.com |
||
|
|
|
|
|
Current timezone is GMT Nov 20, 2009 8:57:03 PM |