For starters...http://www.w3schools.com/tags/tag_doctype.asp.

Ingo Chao wrote:
> Hi
>
> can someone point me to a reference about rendering differences
> between strict and transitional doctype?
>
> or: what would you expect?
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=utf-8;charset=utf-8" />
>
> <title>strict vs. transitional</title>
>
> <style type="text/css">
>       span {
>               background: red;
>               border: 1px solid black;
>               display: inline-block;
>               font-size: 12px;
>               padding: 0 2px;
>               }
>       em {
>               background: yellow;
>               display: inline-block;
>               font-style:normal;
>               height: 24px;
>               line-height:48px;
>               }
> </style>
> </head>
> <body>
>       <div><span><em>Text</em></span></div>
> </body>
> </html>
>
> In Strict mode, the red span encloses the text - in transitional mode,
> it dosn't.
> Why?
>
> thanks,
> Ingo
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>
>   

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to