Wrox Programmer Forums
|
BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9
This is the forum to discuss the Wrox book PHP and MySQL: Create-Modify-Reuse by Timothy Boronczyk, Martin E. Psinas; ISBN: 9780470192429
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2010, 12:45 AM
Authorized User
 
Join Date: Jul 2009
Posts: 77
Thanks: 4
Thanked 6 Times in 6 Posts
Default Chap 10 - tinymce small fonts in text area

When using tinymce the fonts in the textarea are very small.

You can fix this by changing the setting in the themes
directory of tinymce.
Go to tinymce/themes/simple/css/editor_content.css

Edit the editor_content.css file to change the
font size.

Change from
text Code:
font-size: 10px;
to something bigger like
text Code:
font-size: 14px;

Now, if you don't see the change it is probably a caching
problem; that is what I noticed. It seems difficult to get
rid of the css cached stuff. Clearing the cache doesn't
seem to do it.
Here is what you can do to get around this.
In IE, if you bring up another IE client then you will see
your setting. In Firefox, if you reboot you should see your
new setting.

If you search the Internet about tinymce and small fonts
they often refer to going to
tinymce/themes/advanced/css/editor_content.css.
Our theme is "simple" not "advanced". We defined that in
admin.php, about line 20, which is
javascript Code:
<script type="text/javascript">
      tinyMCE.init({mode : "textareas", theme : "simple", width : "450"  });
   </script>
so make sure to go to tinymce/themes/simple/css, not advanced.





Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP+Curl, Sending Post request to update text inside a text area Dotnetnuke .ASPX webspace969 ASP.NET 4 General Discussion 1 October 10th, 2010 03:15 PM
How do I change the fonts used for all the text? Is it through Masterpage krahman01 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 April 18th, 2010 05:51 PM
Submit text to main page from text area... user0b PHP How-To 2 June 30th, 2008 09:52 PM
Hindi language fonts in text box ashu_gupta75 Classic ASP Basics 1 March 15th, 2004 05:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.