CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
JavaScript Jungle
bold buttom on a textarea
theone
Permalink to comment
#
December 2009
hello
i have tryed to make a bold buttom on a textarea, so then you click it is add <b> </b> around the selected text, but i can not get it to work, can you help me..
BaylorRae
Permalink to comment
#
December 2009
Just from a google search I found this.
http://code.google.com/p/jwysiwyg/
AshtonSanders
Permalink to comment
#
December 2009
I'm not totally sure if this will work, but try this in CSS:
textarea:selected { font-weight:900;}
Add a Comment
i have tryed to make a bold buttom on a textarea, so then you click it is add <b> </b> around the selected text, but i can not get it to work, can you help me..
http://code.google.com/p/jwysiwyg/
textarea:selected { font-weight:900;}