<DOCTYPE> does not matter!

  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1397
  • Loc: 55° N, 3° W
  • Status: Offline

Post December 4th, 2008, 9:56 am

It does that with either HTML 4.01 or XHTML DTD's; the strict/transitional difference is the same.

You are essentially correct though. I'm just splitting hairs by finding the exception to the rule. These sorts of differences were far more pronounced a few years ago than they are now.

Also, it seems as if I don't know my own work. Those images I posted are of text within <code> tags (not in <ul>'s as I'd previously stated).
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 4th, 2008, 9:56 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1597
  • Loc: Minneapolis, MN
  • Status: Offline

Post December 4th, 2008, 11:52 am

This is more out of curiousity than a desire to stop using a doctype (at least until IE8 makes them obsolete and all the other browsers follow course) but which browsers did you test that with?
//// Designer, Art Director, Developer & Teacher of Interactive, Motion and 3D \\\\
WhenImNotSleeping.com
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1397
  • Loc: 55° N, 3° W
  • Status: Offline

Post December 4th, 2008, 3:11 pm

The screengrabs were taken while viewing the page with Opera 9.62.

I done some testing later with other browsers too: Firefox 3 does the exact same thing as Opera. IE7 displays it like the transitional image regardless of what doctype is used.

The HTML 5 doctype looks interesting: <!DOCTYPE html>
  • joebert
  • Weathered
  • Genius
  • User avatar
  • Joined: Feb 10, 2004
  • Posts: 11817
  • Loc: Clearwater, FL
  • Status: Offline

Post December 4th, 2008, 3:26 pm

Code: [ Download ] [ Select ]
<!DOCTYPE html>


I bet a DOCTYPE like that is going to go over like the <script type> from <script language> transition.
Why yes, yes I am.

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 80 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.