[thelist] IE6 and it's box model....
Alexander C. Garcia
Alexander at Garcia.Name
Thu Jul 10 16:31:28 CDT 2003
Gary
Thanks for the reply, I inserted a 1x1 transparent gif shimmy, and set the
bar to 10px height, since I insert an image that's 10px in height, in that
<div> with the background rule, but no effect.
<snip>
...................
<div id="bar1">
<img src="images/x.gif" width="1" height="10" alt="" />
</div>
...................
</snip>
It still has it at 20px height. Am I doing something wrong?
Thanks for your help.
Peace be with you.
Alexander Garcia
Alexander at Garcia.Name
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org]On Behalf Of Gary McPherson
Sent: Thursday, July 10, 2003 5:14 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] IE6 and it's box model....
> I'm having the hardest time creating a simple box?!?! I
> want to create a box that is 100% wide but is only 10px in
> height. I had another box with double it's height, and same
> width, one below the other with z-index. It works fine in the
> other browser but IE6 set's it to a minimum height of 20px! I
> can make it bigger and it does adjust, but anything lower
> than 20px is still rendered at 20px.
<snip>
> <div id="box1">
> </div>
IE displays this behaviour with empty divs. Insert a 1x1 shim image and
it'll display as you expect.
HTH,
Gary
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
Evolt.org conference in London, July 25-27 2003. Register today at
http://evolt.org.uk
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list