Avatar of Robert Granlund
Robert GranlundFlag for United States of America

asked on 

Add CSS to Textarea Rows

CSS Text area.   Is it possible to add css to the actual text area rows?  Meaning, if I have a text area in a form that has three rows, can I underline each row so all three have an underline?
CSSHTML

Avatar of undefined
Last Comment
Robert Granlund
Avatar of Norie
Norie

Robert

You could set text-decoration to underline for the textarea.
Avatar of lenamtl
lenamtl
Flag of Canada image

Hi,

Sometimes when I want to help the user with the display espacilly with table
I'm using Tiny MCE, it have a way to use a template
https://www.tiny.cloud/docs/plugins/template/#templates
This is very easy to use you just call a html page which may have a div with the CSS.

tinymce.init({
  selector: "textarea",  
  plugins: "template",
  menubar: "insert",
  toolbar: "template",
  templates: "/dir/mytemplate.html"
});
ASKER CERTIFIED SOLUTION
Avatar of Robert Granlund
Robert Granlund
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
HTML
HTML

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

62K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo