css select first word

51

Since there is no :first-word pseudo-element in CSS, this script can be used in its place. It works in Firefox, Netscape 6+, IE4+/Win, Opera 7+, Konqueror 3, Safari, and IE5/Mac

http://www.dynamicsitesolutions.com/javascript/first-word-selector/?path2=/javascript/first-word-selector/

Comments

Submit
0 Comments