Gunlaug Sørtun wrote: > Tim Dawson wrote: > >> The effect can be seen at >> http://www.holidaymullandiona.co.uk/attr/carsaigarches.php but I've >> had to cheat and put a CSS positioned paragraph into the regular >> content. That way IE7 'sees' the CSS, and shows that there's nothing >> wrong with the CSS per se. (Though there are some positioning quirks >> I haven't quite sussed yet). > > I'd try adding a 'hasLayout' trigger to the containers, like so... > > div#txtcol div.ir, div#txtcol div.il {height: 1%;} > > Seems to have a "sobering" effect on IE's broken CSS engine when it hits > your page, but I can't test how deep it goes. > > regards > Georg
Thanks Georg, that certainly worked for my 'cheating' solution without the DOM-scripting, but it has done nothing for the DOM-scripted version. I've made both available now: http://www.holidaymullandiona.co.uk/attr/benmore.php The captions are correctly placed on the images in both FF3 and IE7 http://www.holidaymullandiona.co.uk/attr/benmoreDOM.php Apologies for the three 'Alerts', but you can watch FF3 generate and apply CSS to each caption in turn. IE7 generates the caption but doesn't apply CSS. The DOM-script runs 'on-load' and it seems IE7 isn't revisiting the CSS when the script runs. Perhaps something can be put at the end of the script to trigger that. Tim Dawson ______________________________________________________________________ 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/