This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Giving color and font in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Giving color and font in JSP" Watch "Giving color and font in JSP" New topic

Giving color and font in JSP

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Hi All

We have a problem with text area. When we select any portion of the text its color and font should be changed as per selection.


This is my text in Bold and text in Bold and underline and text in italics and this is my text in red and big size. How to achieve this functionality.

Exactly i posted my query here... This will be viewed in different font and color

David Newton

Joined: Sep 29, 2008
Posts: 12617

Use a third-party WYSIWYG component.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60804

Not a JSP question. Moved to the HTML forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Giving color and font in JSP
Similar Threads
Pattern Matching
color in selected text in text area
Reading Environment variable and Set it in HttpRequest
Wow 98% : I made it with your wishes!!!
Hurray At Last SCJP got 76%.........................