Ok, things are going well. I have only about three of four remaining problems.
Placing the statement <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"> in my files screwed up everything. I am sotting the problems one by one.
There are a few tables in the files, which used the style -
.tbl_main{padding:0px 8px 0px 8px;}
But now the statement does not seem to work in firefox, although it does in IE.
What is the simplest way of correcting this and adding the padding to the table? I need a simple approach because there are many pages that contain this table, so a style sheet edit is best! A long term solution can be complicated, but right now I need a simple solution.Hi -
Hate to say it, but sometimes it's best to design for Firefox since IE sort of accepts any sloppy coding and irons it out for you - which leads to problems in other browsers...
In regards to the tables, it would be helpful if you could show the full code, since problems often stem from what's been placed and styled prior to the problem element.
ElYou're also not using the proper DTD. The correct DTD for the W3C's HTML 4.01 Strict specification is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">What's the difference?
I was told to use that by someone on th forum to get IE to display things a little better than it was, so that I could develop files that would work with IE and Firefox.
Well, WHATEVER! I have cahnged it to your suggestion.Yea, mstrbob is right, how does it work after changing it to what he said?Originally posted by pawky
Yea, mstrbob is right, how does it work after changing it to what he said? Because Firefox will actually read the DTD and load the correct doctype. Different doctypes render the page differently. The incomplete doctype posted by Suzanne will not work in Firefox because it is not a valid doctype, but will work in IE because IE doesn't even load the doctype, but rather switches to a different rendering mode once it sees <!DOCTYPE (which proves IE's incompetence )It made no difference.
I have solved the problem by completely eliminating all the tables.
Placing the statement <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"> in my files screwed up everything. I am sotting the problems one by one.
There are a few tables in the files, which used the style -
.tbl_main{padding:0px 8px 0px 8px;}
But now the statement does not seem to work in firefox, although it does in IE.
What is the simplest way of correcting this and adding the padding to the table? I need a simple approach because there are many pages that contain this table, so a style sheet edit is best! A long term solution can be complicated, but right now I need a simple solution.Hi -
Hate to say it, but sometimes it's best to design for Firefox since IE sort of accepts any sloppy coding and irons it out for you - which leads to problems in other browsers...
In regards to the tables, it would be helpful if you could show the full code, since problems often stem from what's been placed and styled prior to the problem element.
ElYou're also not using the proper DTD. The correct DTD for the W3C's HTML 4.01 Strict specification is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">What's the difference?
I was told to use that by someone on th forum to get IE to display things a little better than it was, so that I could develop files that would work with IE and Firefox.
Well, WHATEVER! I have cahnged it to your suggestion.Yea, mstrbob is right, how does it work after changing it to what he said?Originally posted by pawky
Yea, mstrbob is right, how does it work after changing it to what he said? Because Firefox will actually read the DTD and load the correct doctype. Different doctypes render the page differently. The incomplete doctype posted by Suzanne will not work in Firefox because it is not a valid doctype, but will work in IE because IE doesn't even load the doctype, but rather switches to a different rendering mode once it sees <!DOCTYPE (which proves IE's incompetence )It made no difference.
I have solved the problem by completely eliminating all the tables.