target="_blank" in standard mode? |
target="_blank" in standard mode? |
jimlongo |
Oct 2 2006, 11:09 AM
Post
#1
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
What do you use instead of this old behavior in standard mode?
|
pandy |
Oct 2 2006, 11:20 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Nothing. Or if you must, JavaScript.
|
Christian J |
Oct 2 2006, 11:24 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
What do you use instead of this old behavior in standard mode? Assuming you mean "with a strict doctype", you must use javascript. You can also use a transitional doctype, probably the only solution with frames. Note that this has nothing to do with "standards mode". You can use the following transitional doctype to trig "standards mode" in most browsers except Konqueror: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> See also http://hsivonen.iki.fi/doctype/ |
jimlongo |
Oct 2 2006, 11:38 AM
Post
#4
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Note that this has nothing to do with "standards mode". You can use the following transitional doctype to trig "standards mode" in most browsers except Konqueror: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> See also http://hsivonen.iki.fi/doctype/ According to my reading of the table in this document that DOCTYPE triggers Almost Standard mode in most browsers. So tell me again why I'd want to use a Strict Doctype? |
pandy |
Oct 2 2006, 11:55 AM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Because with Strict you get rid of old junk and also all the new junk that HTML 4 added. What's left is pure structural HTML (well, almost). Barebones HTML, if you wish. The rest is for CSS. It makes for much neater and more readable code for one.
Strict is what HTML should have been all along, or at least the closest to that ideal that we have. |
Christian J |
Oct 2 2006, 12:03 PM
Post
#6
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
According to my reading of the table in this document that DOCTYPE triggers Almost Standard mode in most browsers. So tell me again why I'd want to use a Strict Doctype? You don't have to, as long as your layout doesn't break in some browser's full std mode (assuming some future browser would use full std despite the Transitional DTD). Or you could get rid of the TARGET attribute... |
jimlongo |
Oct 2 2006, 12:08 PM
Post
#7
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
|
Christian J |
Oct 2 2006, 12:13 PM
Post
#8
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
|
Lo-Fi Version | Time is now: 19th April 2024 - 06:57 PM |