File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63865

Not a JSP question. Moved to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Giving color and font in JSP
It's not a secret anymore!