Jump to content

line spacing


squiblo

Recommended Posts

i could not find the correct place to post this script, anyway, when i change my doctype to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

 

the line spacing and other things are different in IE, i need this doctype becuase i have css codes in my pages, how can i change this?

Link to comment
https://forums.phpfreaks.com/topic/167723-line-spacing/
Share on other sites

Well, you are definitely on the right track by adding a doctype to your document - it's very important to have one. Unfortunately you have just discovered the problems that arise when you add it after you have already started coding, instead of before.

 

The only way to fix everything is to adjust it all in your CSS. It's a pain in the butt, but next time you code a document, you will know to start with the doctype already in the document, and won't have to deal with this problem again. Good luck!

Link to comment
https://forums.phpfreaks.com/topic/167723-line-spacing/#findComment-884544
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.