Page 1 of 1

<=IE7 Nested elements not rendering

Posted: Sun May 17, 2009 6:10 am
by Darkzaelus
Hiya, in IE7 and downwards, whenever I create complex nested elements, like DLs for use in a form, <IE8 refuses to render them. Is there anything (apart from appending to the parent container's innerHTML, which removes events and custom functions) that I can do to render it properly?

Cheers,

Darkzaelus

Re: <=IE7 Nested elements not rendering

Posted: Sun May 17, 2009 9:32 am
by kaszu
Problem probably is with hasLayout. Try settings zoom or height or width etc. to the container.

Re: <=IE7 Nested elements not rendering

Posted: Sun May 17, 2009 10:26 am
by Darkzaelus
I've tried that now, but i'm still left with a blank layout, with no html inside of the wrapper div, and the hasLayout property set to -1 :(

I've set the parent div's:

Code: Select all

wrap.style.zoom='1';
, and in the css class i've added

Code: Select all

min-height:0
Height and width are already provided in the class style as well.

I'm not too sure what to do now.

Darkzaelus

Re: <=IE7 Nested elements not rendering

Posted: Sun May 17, 2009 5:47 pm
by kaszu
Please provide html/css or an url.

Re: <=IE7 Nested elements not rendering

Posted: Mon May 18, 2009 7:11 am
by Darkzaelus
I'm really sorry! Turns out it was IE failing on extra commas in arrays! It couldn't get past hat point of the code, so it wasn't rendering. Thank god for IETester!

Thanks for your time :)

Darkzaelus