It was suggested elsewhere by a moderator that it is a good practice to use "* {margin:0}" at the beginning of my style sheet to turn off the browser-dependent spacing. Presumably this is one step to getting consistent rendering of the output whether using IE or other browsers. Also I have tried to become consistent by using the following in my templates:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
When I do this I find that various things start to deteriorate. For example my paragraphs run together without spacing in between, lists deteriorate in inconsistent ways, etc.
My question is this: Can anyone post some of the standard CSS they use to recover the "normal" look of HTML (I've spent several hours trying to get back to where I started but it still doesn't look right to me). I'd like to believe that I'm not the first to experience this and would like to save a few more hours of fiddling.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
When I do this I find that various things start to deteriorate. For example my paragraphs run together without spacing in between, lists deteriorate in inconsistent ways, etc.
My question is this: Can anyone post some of the standard CSS they use to recover the "normal" look of HTML (I've spent several hours trying to get back to where I started but it still doesn't look right to me). I'd like to believe that I'm not the first to experience this and would like to save a few more hours of fiddling.
Comment