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? Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/28798-javascript-font-question/#findComment-132243 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.