We are experiencing inconsistencies between div widths between IE8, Firefox and Chrome. I am aware that in IE6 and before does weird things with borders and what not, but I was under the impression they fixed that with IE7 & 8, however, the problem seems to be present.
When I take a screenshot of the section in question, the border is definitely being included in the width. But then a div that is supposed to reside inside the broken div is set to a width of 690px with a 20px border but is showing up as 734 wide, so the border plus some... So I did some more digging, and found IE has issues understanding the CSS width command, and interprets it as min-wdith. But I also read IE8 is fully CSS2.1 compliant, so shouldn't this be fixed?
Which leads me to my final question, the header reads as:
But from what I can tell, to make it compliant it needs to be:
Would that change possibly fix the issue, or is something more going on?
I also found this:
Would that do anything?
I'd post code, but it's a whole crap load of code (a sharepoint based site) and I think it is considered proprietary, NDA and all that...
I hope I made sense...
Oh, also I am not the I.T. department, who should be doing this, I am just the graphic designer, but eh, sometimes if you want something done... (also why I can't just test this, I have to email someone else, and am trying to minimize attempts)
When I take a screenshot of the section in question, the border is definitely being included in the width. But then a div that is supposed to reside inside the broken div is set to a width of 690px with a 20px border but is showing up as 734 wide, so the border plus some... So I did some more digging, and found IE has issues understanding the CSS width command, and interprets it as min-wdith. But I also read IE8 is fully CSS2.1 compliant, so shouldn't this be fixed?
Which leads me to my final question, the header reads as:
Code:
<!-- DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN -->'
<!-- l version="1.0" encoding="iso-8859-1 -->
But from what I can tell, to make it compliant it needs to be:
Code:
<!-- DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" -->'
<!-- l version="1.0" encoding="iso-8859-1 -->
Would that change possibly fix the issue, or is something more going on?
I also found this:
Code:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
I'd post code, but it's a whole crap load of code (a sharepoint based site) and I think it is considered proprietary, NDA and all that...
I hope I made sense...
Oh, also I am not the I.T. department, who should be doing this, I am just the graphic designer, but eh, sometimes if you want something done... (also why I can't just test this, I have to email someone else, and am trying to minimize attempts)