Doctype problem

Hi,

I have a question about doctypes, when I put the following in the beginning 
of html code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

the page loads just fine. BUT when I add this 
"http://www.w3.org/TR/html4/loose.dtd">
everything goes messed up. DIVs get wider and everything inside <div></div> 
with a line break will create its own block!
I have no idea how the last part of the doctype can cause that but belive me 
I've tried it over and over again and it is that last part of the doctype 
code that causes trouble.
Is it necessary and why does it cause problems? Which one is the "correct", 
pure HTML code - with or without that last part? Also, I've seen the last 
part written in different ways, for example 
"http://www.w3.org/TR/html401/loose.dtd" instead of 
"http://www.w3.org/TR/html4/loose.dtd". Which one is correct?

Also, I tried HTML validator and it complains about my charset encoding, I 
figured it didn't like the "euro" signs on my page. I think I should use the 
ISO-charset encoding? How can I set that in my html code and will that cause 
problem in foreign users' browsers?

I would really appreciate if you could answer these questions, I really need 
your help.

Best regards,
Felix

_________________________________________________________________
Flirttaile, rupattele, juorua tai vaihda kuulumisia näytössä tapahtuvissa 
keskusteluissa. Lataa ilmainen MSN Messenger. http://messenger.msn.fi

Received on Friday, 16 July 2004 09:46:36 UTC