You probably wanted to setup color
as part of :hover
styling, right? In that case you should put this rule inside hover
property, like this:
Cufon.replace('.info-grid a span', {
fontFamily: 'Vegur',
hover: {
color: 'white'
},
hoverables: { a: true, span: true }
});
It's said in the documentation, however...
Nesting :hover-enabled elements is unrecommended and may lead to unpredictable results.
... and the way I see it, this notice should be accounted in your case. So maybe it's best to depend on :hover
state of a
only for changing the colors, replacing the code with this:
Cufon.replace('.info-grid a', {
fontFamily: 'Vegur',
hover: {
color: 'white'
}
});
... as <a>
elements are 'hoverable' by default.