Change The Border On A TinyMCE Textarea
I couldn’t figure out how to change the borders on a TinyMCE textarea–the problem was TinyMCE converts your textareas to tables on the fly, which means all the CSS work you do for textarea goes unnoticed. Moxicode’s forums weren’t much help–here is the solution in two simple steps:
1. Find the skins folder for your theme, mine for example was the “Advanced” theme, under
"tiny_mce/themes/advanced/skins/default/"
2. Under /* Layout */, look for ".defaultSkin table.mceLayout", and you’ll probably see "border-left:1px solid #ccc". That’s where you’ll want to make your changes. Make them to that line, as well as the tr.mceFirst and tr.mceLast lines, and you’ll have new borders on your textareas in TinyMCE.
Got anything to say? Go ahead and leave a comment!
Archives
- January 2012
- December 2011
- November 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2010
- December 2009
- September 2009
- August 2009
- April 2009
- February 2009
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- January 2007
- December 2006
- October 2006
- August 2006



Posted under: