[css-d] problem getting an *inline* css rollover to work

2006-05-15 Thread OpenMacNews
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hi all. i'm working on some dynamic css-menu building. i'm trying to get an inline-css rollover to behave. i've got an a tag of: a class=menuButton style={background-image: url($image_name);} :hover{background-image: url($image_name_hvr);}

Re: [css-d] problem getting an *inline* css rollover to work

2006-05-15 Thread Els
OpenMacNews wrote: i'm trying to get an inline-css rollover to behave. i've got an a tag of: a class=menuButton style={background-image: url($image_name);} :hover{background-image: url($image_name_hvr);} /a Did you try validating that? the goal, of course is, when hover over the a

Re: [css-d] problem getting an *inline* css rollover to work

2006-05-15 Thread OpenMacNews
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Can't you generate this second image name into the head of the document? splitting moving the per-image-name style-creation logic into php in the head, then, looping again over image-names/styles in the body did the trick. thx! - -- /\ \ /