|
Posted by dorayme on 09/08/06 23:56
In article
<1157747920.235887.265420@h48g2000cwc.googlegroups.com>,
"1995 Cobra" <mg@deepskystudio.com> wrote:
> > BootNic Friday, September 08, 2006 9:49 AM
> >
> Hey, thank you for the reply. Are you able to explain or point me in
> the direction of an explanation on why it's too wide? My #holder is
> 900px wide and the sum of my 3 divs is 900px wide. Is this just a
> "glitch" in I.E. or am I doing something incorrectly? Thank you again.
It is a glitch in the sense that this browser goes its own way
and adds pixels to your layout without invitation. It is
consistent behaviour though and was, as I understand,
deliberately planned by MS (to give some grace to layouts). The
idea is give just IE a special and different instruction, through
one of the techniques for doing this, namely - as Bootnic shows -
a conditional statement that only IE takes notice of. In effect,
if IE is adding 3 px here and there, the conditional makes sure
that when it adds these amounts, it is adding to a dimension that
is less 3px to what the other browsers see. In other words, IE
gets told a width is 3px less than what is told to other
browsers. When it adds the 3px of its own, the width concerned
then appears like the way other browsers handle it.
--
dorayme
[Back to original message]
|