Interesting...
I've just re-read through the 'Box Model' link you gave me.
From what I can gather browsers are operating at two levels 'Quirks' and 'Standards'.
If I use this;
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
then a browser (including i.e. 6.0) renders the document or html/css following the W3C standard. If I don't comment or place that code, then the browser is supposed to fall back on the 'Quirks' method and render the page at this level.
If that is the case, then I am telling that document to tell the browser to use standards and as such it should render correctly across platforms. Only reason I can think of is I have the charset wrong;
Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
.
I would assume though if that was the case then the W3C validator would inform me of this, it doesn't. ....
[side note]
I have just checked the document again in the W3C extended interface. I choose the charset and html 4.01 transitional. It validated. using a utf-8 override it tentatively validates.[/side note]
So, with that and because I have set the I.E. browser to render at standards and then built the rest of the page, it should make absolutely no difference which browser the page us opened with.
This is because I have set I.E to operate at W3C standard compliance. I would expect the 'Box Model' problem in the older i.e. browsers such as 5.0 and before.
With the code I have written that problem with the older i.e. browsers would definately occur but not with i.e. 6.0 as the 'Box Model' problem was rectified in this browser.
So that then follows that in this case I am using fully compliant html/css and only i.e. 6.0 is rendering it correctly.
Your documents there that you linked to are actually saying that I am right but that I need to use the 'Tan' hack so older versions of I.E. can render the 'Box' correctly.
We know from those resrc documents that the 'Box Model' was fixed in I.E. 6.0 and I have told it to render as 'Standards'.
The document should there fore render correctly in all W3c standards browsers. As I've said it doesn't.
Your reference to the 'Box Model' problem, whilst a valid argument against older i.e. browsers cannot apply here, as I have used i.e.6.0 set to work with standards.
So that means that my original argument remains solid - that i.e. is rendering the document as a valid W3C 'Standards'page and that supposedly W3C standards browsers are not.
Look at the evidence, that is what it is saying.
Your links actually confirm my evidence..
As does this;
Quote:
|
Fortunately, Microsoft saw the error of its ways and corrected IE's box model in IE6, but only if it is in "standards mode". If it is left in "quirks mode" it still emulates the old IE5.x/win box model. By the way, IE5/mac always obeyed the standard box model. Go figure
|
My documents/ pages are set to work in standards, so i.e. 6.0 render them as such and displays the visual result perfectly. That being the case so should the so called W3C recommended browsers.
As I said the older i.e. browsers will have a problem rendering those pages in that code because of the box model problem but that is not the case here,
That then leads me to ask again why? Remember the 'Box Model' problem is not an issue here I have i.e. 6.0 set at standards ;
Quote:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
|
Would someone explain where I am wrong here?
n.b. yes I am going to have to use the 'Tan Hack' to combat the 'Box Model' problem but only in the older i.e. browser's. It does not apply in this case.
[edit] btw I have just spent 15mins taking that page to html 4.01 strict. It renders perfectly in i.e. 6.0 set at 'Standards'. The doctype element does that. here's the test address
http://www.oasiswest.ie/test/index.html. The css is also valid as well. I obviously would expect the 'Box Model' problem in earlier i.e. browsers. I am gonna get my mate to check it in other browsers, specifically the W3C recommended browsers. As such being strict hml 4.01 with the correct document standards setting I should not have any problems in cross browser support.
I will post back on results. bur upto now, I can qualify that i.e 6.0 is rendering the document correctly.