|
|
You are not logged in.
April 17th, 2005, 15:57
|
#1
|
Join Date: Nov 2004
Location: Castle Rock, CO
Posts: 2,187
|
I was Strict but now I need to be Transitional
Using a Strict DOCTYPE, there are certain attributes that cannot be used on HTML or XHTML: e.g. target in the <a> tag. Do you still use strict and live without it validating or do you use transitional at this point?
I have pretty much always used transitional & I was working on a few strict sites this weekend and having never really paid much attention to some of the attributes & what DOCTYPES might be supported - I was dismayed at this.
It seems though XHTML 2 might even be the fist supported XHTML standard? Or did I miss something (again)?
|
|
|
April 17th, 2005, 16:13
|
#2
|
Join Date: Oct 2004
Location: Northwest Colorado
Posts: 6,074
|
Re: I was Strict but now I need to be Transitional
You can still accomplish this with a strict doctype, you just need to use a little javascript. Here's an article:
http://www.sitepoint.com/article/sta...ompliant-world
Quote:
|
Quoting Corey Bryant:
It seems though XHTML 2 might even be the fist supported XHTML standard? Or did I miss something (again)?
|
 Huh? Supported by what?
__________________
 Unfrozen Caveman Webmaster
One crazy man can block the well, but it takes the whole village to remove the stone. -Iranian proverb
|
|
|
April 17th, 2005, 17:04
|
#3
|
Vision - Action = Bovine Excrement
Join Date: Oct 2004
Posts: 10,252
|
Popping open a new window has simply been transferred to the realm of behavior instead of structure. So it moves into JavaScript, where people have more of a choice about how they want their browser to behave. Paul R. and I got into quite a discussion about this once. In the end, it actually makes a lot of sense doing things this way.
|
|
|
April 17th, 2005, 17:10
|
#4
|
Join Date: Nov 2004
Location: Castle Rock, CO
Posts: 2,187
|
Thanks - Sorry BigBison - that just came out totally wrong. I was talking & typing at the same time (something I have learned in the past not to do - either my typing gets intermingled with my talking & I should not type (what I did) or my typing gets mixed in with my talking & proves to even be more embarrassing  )
Besides after reading y'alls great posts on hear about being strict etc - it's y'alls fault I want to be strict 
|
|
|
April 17th, 2005, 17:14
|
#5
|
Join Date: Oct 2004
Location: Northwest Colorado
Posts: 6,074
|
Quote:
|
Quoting the_pm:
Paul R. and I got into quite a discussion about this once.
|
Once upon a time, three weeks ago:
http://forums.iwdn.net/viewtopic.php?t=1602
I thought I was experiencing a little déja vu!
|
|
|
April 17th, 2005, 17:42
|
#6
|
Join Date: Nov 2004
Location: Castle Rock, CO
Posts: 2,187
|
I remember that (vaguely) but I could not for the life of me remember what forum it was on 
|
|
|
April 17th, 2005, 19:18
|
#7
|
Join Date: Oct 2004
Location: Englishman in Texas
Posts: 894
|
My opinion is this: validate to Strict and then if you need a target on your links, drop your DOCTYPE to Transitional. There's no shame in it!  Your site will still validate and you get to use the features of your chosen DOCTYPE. Yes, "strict"ly speaking, the opening of new windows should remain in the realm of behaviour (ie, JavaScript), but IMO the Transitional DOCTYPE exists for that reason.
__________________
Peace out, bitches.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|