Click to See Complete Forum and Search --> : mozilla and ie


madddidley
07-24-2004, 05:26 PM
In IE this layout I made looks fine. But in mozilla the content box is way off to the right. If I change the positioning won't it change they way it looks in IE?

Here is the site
http://www.mattdudley.d2g.com/companyWEBSITE/





my site
www.madddidley.com

Charles
07-24-2004, 05:42 PM
1) Start with valid mark-up. See http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mattdudley.d2g.com%2FcompanyWEBSITE%2F for a few errors. One of them might be the problem.

2) HTML 4.0 was superseded by HTML 4.01 back in 1999.

3) The transitional DTD is for whimps, and I don't see anything there - outside of the errors - that isn't 4.01 Strict.

4) Use the full DOCTYPE already:

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

I like the look of the page, I must say. Though, that might be the oxycontin they've got me taking.

ray326
07-24-2004, 06:03 PM
Try a clear:both; on your #content style.

madddidley
07-24-2004, 07:12 PM
what is transitional DTD?

madddidley
07-24-2004, 07:19 PM
also, I don't understand whats wrong with the comments? What does that mean?

Charles
07-24-2004, 09:01 PM
Having a broken wrist I'm typing with one hand, so I want to be brief.

The DTD specifies which version of HTML you are using. You are, and should be, using HTML 4.01 Strict.

In HTML, it's the double dash that makes the comment. If you have a line of dashes then you are toggling on and off the comment. If you want a line, use "=======".

fredmv
07-24-2004, 09:28 PM
Originally posted by madddidley
what is transitional DTD? Originally posted by madddidley
also, I don't understand whats wrong with the comments? What does that mean? Did you even bother to read Ray's post?