> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> discuss.org] On Behalf Of Tim Dawson
> Sent: Monday, September 29, 2008 8:38 AM
> To: css-d@lists.css-discuss.org
> Subject: Re: [css-d] DOM-scripted content doesn't link toCSS in IE
> 
> Thierry Koblentz wrote:
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> >> discuss.org] On Behalf Of Tim Dawson
> >> Sent: Monday, September 29, 2008 5:31 AM
> >> To: css-d@lists.css-discuss.org
> >> Subject: Re: [css-d] DOM-scripted content doesn't link toCSS in IE
> > Hi Tim,
> > Are you using setAttribute() to plug class names?
> > Because I ran into something like that not long ago and found out that
the
> > class was generated in IE, but the styles associated with it were not
picked
> > up. Going with className instead of setAttribute solved the problem for
me.
> >
> >
> Hello Thierry,
> 
> Yes, I was using 'para.setAttribute("class","cr");'
> I've changed it to 'para.className = "cr";' and it's done the trick.  The
text
> now appears about 10px below its FF3 position, but I can work on that.
> 
> I'm a bit dubious about using the 'alt' or 'title' attribute (of 'img')
for
> this
> purpose, it's probably frowned on by the standardistas.  Title produces
the
> tooltip, too, which is undesirable.

I agree, I don't think you should be using the title attribute for this. 
What about using something like this instead:
http://www.tjkdesign.com/articles/overlay/overlay_with_no_hook.asp 

-- 
Regards,
Thierry | http://www.TJKDesign.com



______________________________________________________________________
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