I'm using some DOM-scripting to add captions to photos.  CSS is crucial for 
positioning the caption, which the scripting derives from the 'alt' attribute 
of 
the image.

In FF3 the scripting hooks into the CSS and all's well.. In IE7 the captions 
are 
generated, but the CSS is ignored, so they end up in the wrong place.  Is there 
any way to get IE7 to recognise the CSS in this case ?

I don't want to embed the CSS in the DOM-scripting if it can be avoided.

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 may have to fall back on this approach if there's no other way round.  
There's 
a great convenience in having the caption derived automatically from the 'alt' 
attribute, so it would be nice if it worked.

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/

Reply via email to