Hello
Hope somebody can help me real quick to find a solution:
I've the following code:
arr.each(function(item){
//if (Browser.Engine.trident != true) {
item.setStyles({
'font-weight' :'bold',
'font-size' :
item.getStyle('font-size').toInt()
*this.options.cufonSize
});
//}
Cufon.replace(item, { 'fontFamily': 'Bradley Hand ITC
TT' });
}.bind(this));
the code works fine in Firefox and Safari.
when running item.getStyle('font-size').toInt(), the following values
are returned:
Firefox: 22, 23, 23, 23, 23, 16, 16, 16 (correct)
IE: 189, 1, 1, 1, 1, 156, 156, 156 (wrong)
In my stylesheet I've got the following:
h2, .h2 {
font-size:167%;
font-weight:normal;
font-style: normal;
color:#AE0345;
}
the IE values are obviously totally wrong - is there a way around this
- any ideas are very much appreciated!
Thanks