Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- IE error, simple code
March 26, 2006, 3:54 am
rate this thread
commented) which shows weird spaces rendered *only* in IE...
I'd love to hear any hint from one of the gur=FAs who seems to visit
I've tried so many combinations in the CSS without luck
regards - jm
Re: IE error, simple code
It's a bug in ie, I believe there's even a name for it - the 3-pixel
float bugaboo or something.
The easiest way to fix your page is to use absolute position. Here's
what I did to your doc:
<div class="div_blanco_top"><div class="div_blanco_tl"></div><div
...and your css:
/* main container */
border: 1px solid yellow; /* I set up a border to see where this
background: red; /* this color shouldn't be seen !!!! (only IE)*/
/*border: 1px solid red;*/
/* THIS div doesn't "wrap" 100% of the width, and allows that
background color of its container appear'*/
margin: 0 0px;
border-top: solid 3px black;
/* left image */
background: url(div_blan.png) no-repeat top left;
/* right image */
background: url(div_blan.png) no-repeat top right;
...in addition to changing the dtd to strict. It worked. Dunno about
the j/s as that wouldn't save (-maybe because of php?)
Contrary to popular belief, it is believable.