pouncer Posted November 28, 2006 Share Posted November 28, 2006 row.innerHTML = values[1] + ' ' + '<img src="Icons/owner.ico">' + ' ' + values[2] + ' :' + ' ' + text;i want to make the values[2] tahoma. can someone show me how? Link to comment https://forums.phpfreaks.com/topic/28798-javascript-font-question/ Share on other sites More sharing options...
wildteen88 Posted November 29, 2006 Share Posted November 29, 2006 You'll want to add in the relevant HTML into the string. Like so:[code]row.innerHTML = values[1] + ' ' + '<img src="Icons/owner.ico"><span style="font-family: Tohoma">' + values[2] + '</span> ' + text;[/code] Link to comment https://forums.phpfreaks.com/topic/28798-javascript-font-question/#findComment-132243 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.