The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

bold buttom on a textarea

  • # December 18, 2009 at 8:47 am


    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..

    # December 18, 2009 at 10:33 am

    Just from a google search I found this.

    # December 18, 2009 at 11:37 am

    I’m not totally sure if this will work, but try this in CSS:

    textarea:selected { font-weight:900;}
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed