The IWDN

Advanced Search





You are not logged in.

IWDN Forum Index > Web Development > Web Design, Structure and Style >> I was Strict but now I need to be Transitional

Reply
 
Thread Tools
Old April 17th, 2005, 15:57   #1
Corey Bryant's Avatar
Corey Bryant
IWDN Admin
 
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)?
__________________
Corey
My Merchant Account Blog | Expression Web Blog
Corey Bryant is offline   Reply With Quote
Old April 17th, 2005, 16:13   #2
BigBison's Avatar
BigBison
<span> is my friend
 
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
BigBison is offline   Reply With Quote
Old April 17th, 2005, 17:04   #3
the_pm's Avatar
the_pm
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.
__________________
"It's not that a plateau is a bad place to be. It's just that sometimes, it gets a little too comfortable."

- Paul Hirsch, IWDN Administrator


THE RESULTS ARE IN! Read about the Great Search Engine Experiment.
the_pm is offline   Reply With Quote
Old April 17th, 2005, 17:10   #4
Corey Bryant's Avatar
Corey Bryant
IWDN Admin
 
Join Date: Nov 2004
Location: Castle Rock, CO
Posts: 2,187
Thanks - Sorry BigBison - that just came out totally wrong. I was talking &amp; typing at the same time (something I have learned in the past not to do - either my typing gets intermingled with my talking &amp; I should not type (what I did) or my typing gets mixed in with my talking &amp; 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
__________________
Corey
My Merchant Account Blog | Expression Web Blog
Corey Bryant is offline   Reply With Quote
Old April 17th, 2005, 17:14   #5
BigBison's Avatar
BigBison
<span> is my friend
 
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!
BigBison is offline   Reply With Quote
Old April 17th, 2005, 17:42   #6
Corey Bryant's Avatar
Corey Bryant
IWDN Admin
 
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
__________________
Corey
My Merchant Account Blog | Expression Web Blog
Corey Bryant is offline   Reply With Quote
Old April 17th, 2005, 19:18   #7
Martin
Rarely wrong
 
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.
Martin is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump