Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Re: Line spacing not working

 
Thread Tools Search this Thread
Old 11-02-2009, 05:25 PM   #1
Default Re: Line spacing not working


On Nov 2, 9:32*am, Ben C <spams...@spam.eggs> wrote:

> > When authoring HTML documents, you cannot rely on initial values.

>
> Also true.


Well, e.g. you have this bloody statement on top of your html file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Does the browser really need that???
Does the browser really look it up???
Or is he just interested in the words "strict", "transitional",
"loose", "frameset", "xhtml" and "html"?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

The given url - I guess the browsers all over the world can not really
look it up.
It's just a hint.
Damn it - because if you could add a dtd file url with initial values
which you could manipulate than - "Than what??!"


Jan C. Faerber
  Reply With Quote
Old 11-13-2009, 12:56 AM   #2
Jan C. Faerber
 
Posts: n/a
Default Re: Line spacing not working
On Nov 2, 11:15*pm, Ben C <spams...@spam.eggs> wrote:

> > Or is he just interested in the words "strict", "transitional",
> > "loose", "frameset", "xhtml" and "html"?

>
> Most browsers just do a bit of pattern matching on that to decide
> whether to use quirks mode or not.
>
> [...]
> The DTD doesn't contain initial values (or default styles). It's
> something else altogether-- tells you what kind of tags you can use and
> how you can nest them and other stuff Korpela will know more about.
>
> But browsers don't really use them for anything in practice except
> quirks mode switching.


Ok - thanks Ben!


Jan C. Faerber
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backlight dimming not working on Vaio after OEM install of Windows Ron Computer Support 4 11-14-2006 06:27 PM
AOL working, Internet Explorer not working Paul Welch Computer Support 3 08-13-2006 12:29 AM
IE Working Offline Issue Bill E. Computer Support 0 07-14-2006 06:48 PM
Medical PALM pilot programs (AKA PDA programs) in full working versions. vvcd Computer Support 0 06-20-2006 07:18 AM
iPod Shuffle Working? =?Utf-8?B?U3R1YXJ0IE1jRmFybGFuZQ==?= Windows 64bit 1 08-08-2005 11:25 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46