views:

13

answers:

1

I need an app where I can just copy a block of text and have it identify the typeface, color, size, etc. Is there such a thing?

A: 

The JQuery css() function would be great for this. You would just need to build a function that checks for the CSS properties you are looking for and return them.

$(document).ready(function(){

var test = $('p').css('font-family');

alert(test);

});

Demo here: http://jsbin.com/ecedolink text

Here is documentation on the JQuery CSS function. http://api.jquery.com/css/

Jared Christensen
I should have asked, are you looking for a desktop app or are you building a web app?
Jared Christensen