<DOCTYPE> does not matter!

  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • 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: 1828
  • Loc: In the Great White North
  • 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?
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • 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
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post December 4th, 2008, 3:26 pm

Code: [ Select ]
<!DOCTYPE html>


I bet a DOCTYPE like that is going to go over like the <script type> from <script language> transition.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 154 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.