Forum Moderators: open

Message Too Old, No Replies

XHTML Transitional to XHTML Strict

A convenient guide available?

         

pjamescowie

6:30 pm on Jul 27, 2003 (gmt 0)

10+ Year Member



I've been coding my pages in XHTML Transitional for a year now, but feel that I want to actually make that worthy transition to Strict 1.0 or 1.1 sometime soon. I've experimented a bit with several pages, but find the error messages from the Validator quite inpenetrable in places.

Is anyone aware of a quick and easy guide (i.e. NOT the W3C pages) that gently explains the specific differences between Transitional and Strict, and how to implement them?

Most grateful for any suggestions.....

MWpro

7:05 pm on Jul 27, 2003 (gmt 0)

10+ Year Member



Transitional allows the deprecated attributes like center, font, target, etc while with strict you should just use CSS to style the pages. There really isn't that much of a difference and the transition can be very easy if you are good with CSS. What errors are giving you problems?

pjamescowie

7:51 pm on Jul 27, 2003 (gmt 0)

10+ Year Member



OK, well, for starters, how do you replicate target=_blank by means of a style sheet?

tedster

8:33 pm on Jul 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The idea behind "strict" code is that opening a new window should be left only to the user's discretion and never imposed on them.

To stay valid, you can use javascript to open a new window, but but there are obvious downsides to that as well. Some recent threads on exactly this issue:

Strict DTDs and opening new windows [webmasterworld.com] Especially See Message #8
Going Backwards from Strict to Transitional [webmasterworld.com]