I\'m attempting to either use jQuery, CSS or PHP to increase the font size of the first letter of each word in a string. For example, I\'m going to have a title in h1 tags
$(document).ready(function() {
var words = $('h1').text().split(' ');
var html = '';
$.each(words, function() {
html += ''+this.substring(0,1)+''+this.substring(1) + ' ';
});
$('h1').html(html);
});
Here's an example of it in action: http://jsfiddle.net/hCvsu/1/