Ken Hanson wrote:
> Hi Tim,
> I went ahead and pulled your stylesheet down and checked things out for 
> myself, especially concerning div#txtcol.
> 
> Pretty sure that guy's a has-layout bug. Those kind of bugs are a bit 
> beyond me, but when I have no explanation for whats going on, I usually 
> turn to tossing in a tester Zoom: 1.0; to check and see.
> 
> This one immediately had me guessing and so I did a tester check (my own 
> words, not technical at all) with this:
> 
> * { zoom: 1.0; }
> 
> It's most definitely -not- a permanent fix, but this just helps to see 
> if you even need to waste time with the next part, which is drilling 
> down into which element actually needs zoom: 1.0; for the bug. If you 
> leave the * selector there, your looking at some pretty heavy rendering 
> loads and such, as well as it just being bad practice.  So pop it in, 
> see if it fixes, and then take it out and start stepping through the 
> rest of the elements until you get the right one.
> 
> Anyways, I went ahead and applied it to div#txtcol { }, and your really 
> really close. Just some minor gaps between the divs at that point, but 
> the rounded corner explosion snaps right away ( I checked in IE6 using 
> accessibility stylesheets ).
> 
> So you have this:
> 
> div#txtcol {
>     background-color: #F6EFC3; /* primrose */
> /*    position: relative; top: 0; left: 0px;*/
> /*    margin: 0 0 0 140px;*/
>     margin: 0 0 0 0px;
>     padding: 0 0 4px 0;
>     height: auto;
>     overflow: hidden;  /* Creates new block formatting context */
> }
> 
> And here's what I changed it to:
> 
> div#txtcol {
>     background-color: #F6EFC3; /* primrose */
> /*    position: relative; top: 0; left: 0px;*/
> /*    margin: 0 0 0 140px;*/
>     margin: 0 0 0 0px;
>     padding: 0 0 4px 0;
>     height: auto;
>     overflow: hidden;  /* Creates new block formatting context */
>     zoom: 1.0; /* IE6 Has Layout Bug Fix */
> }
> 
> Good luck with the rest of it!
> 
> Sincerely,
> Ken Hanson | http://www.markupninjas.com
> 

Hello Ken,

Thank you. I've not met {zoom: 1,0;} before, but I'll be giving it a try.
I did wonder if it was a 'has-layout' problem, but don't know enough to make the
suggestion.  I thought, however, that the 'overflow:hidden' was meant to take
care of that.  But perhaps not.

Tim

-- 
Tim Dawson
Maolbhuidhe
Fionnphort
Isle of Mull  PA66 6BP

01681 700718

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to