fenway Posted February 13, 2007 Share Posted February 13, 2007 Point taken... but I like to use my own methods of ensuring cross-browser compatability, without having to worry about the standards changing at any time and having to start all over again. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-183711 Share on other sites More sharing options...
SweetLou Posted February 13, 2007 Share Posted February 13, 2007 Yes, it would be easier, but you won't get the same results in all browsers, whereas if you had standards then your page would look like you want it to look in all browsers. If that were even true at all, I might actually consider using them... What part don't you think is true? The part about getting the same results in all browsers or the part about making your own doctype? Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-183891 Share on other sites More sharing options...
fenway Posted February 13, 2007 Share Posted February 13, 2007 Definitely the same results in different browsers... and why bother with my own doctype? Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184035 Share on other sites More sharing options...
SweetLou Posted February 13, 2007 Share Posted February 13, 2007 Well, depending on how you page is coded it will or will not change the look in all browsers. You seem to have found a way for you to code for all browsers and make it look the same. The pages I make usually mean I have to use xhtml 1.1 strict, and even then, I sometimes need a small IE hack. As for why bother with you own doctype, that was the main purpose of the original poster. The OP wanted to keep the page valid but still use target="_blank", this can be done by using a custom doctype. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184056 Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 Point taken... but I like to use my own methods of ensuring cross-browser compatability, without having to worry about the standards changing at any time and having to start all over again.  The standards won't change for any given doctype - that is why doctype switching is a tool some chose to use. Standards may change in the future (I have always wanted to see acaption attribute for an image tag that would display under the pic!!!!) but if they do change then it will only be later versions of html/xhtml that will implement them - the old ones will still behave as they do now.  The best way to ensure cross browser compatability is to use a doctype that is a recognized standard - this is because the browsers are coded to standards dependant on the dtd. even if you write your own it MAY choose to do something a little different. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184185 Share on other sites More sharing options...
fenway Posted February 14, 2007 Share Posted February 14, 2007 I doubt that -- backwards-compatability is never complete. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184301 Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 True but I do think it is fair to take IE6 as your absolute baseline these days - only 3% of the web has ie5.5 or less on a pc and Mac users have virtually erradicated ie5.5 for the mac. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184463 Share on other sites More sharing options...
fenway Posted February 14, 2007 Share Posted February 14, 2007 True -- but I prefer to code for IE6 and hack for FF and standards, not the other way -- for the same reason. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184640 Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 BUt if you use xhtml 1.1 you don't have to hack. There maybe the odd faux column but that is not junk html or junk css - just a little extra, still valid, css thats all. Â Then you can put the valid css, xhtml1.1 icons on your site for everyone to ignore or just think you are a geek.... Â Â Why on earth would you hack for FF though?????? Bizarre Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184644 Share on other sites More sharing options...
fenway Posted February 14, 2007 Share Posted February 14, 2007 I hack for the smaller percentage browser... always. Anyways, I have no need for standards, nor do I see one yet, but I appreciate your efforts in trying to convert me ;-) Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184646 Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 OK mate we will leave you to it... Â I wish you would give it a try but I fear the dark-side is strong in you and betrayed we will be... Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184679 Share on other sites More sharing options...
fenway Posted February 14, 2007 Share Posted February 14, 2007 LOL... let's agree to disagree. Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-184691 Share on other sites More sharing options...
ToonMariner Posted February 15, 2007 Share Posted February 15, 2007 When do I get made into a global moderator btw? Quote Link to comment https://forums.phpfreaks.com/topic/36566-target_blank-in-xhtml/page/2/#findComment-185064 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.