Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing the textarea border in HTML

I'm working with the textarea element in HTML and want to remove the border of the box. I also want to align the text in the bottom of my textarea.

like image 568
PROFESSOR Avatar asked Jun 25 '09 05:06

PROFESSOR


People also ask

How do I remove the border of a text box in HTML?

Select the text box or shape border that you want to remove. Under Drawing Tools, on the Format tab, in the Shape Styles group, click Shape Outline, and then click No Outline.

How do I get rid of the border in CSS?

We can specify the no border property using CSS border: none, border-width : 0, border : 0 properties. Approach 1: We will give border-color, border-style properties to both headings, for showing text with border and no-border. For no border heading, we will use the border-width : 0 which will result in no border.

How do you remove a border from an element?

Above, we have the div class to no-border class and this allow us to remove the borders from the element.


2 Answers

textarea {     border: none;     outline: none; } 
like image 191
John Kugelman Avatar answered Sep 24 '22 13:09

John Kugelman


In CSS:

  textarea {      border-style: none;      border-color: Transparent;      overflow: auto;           } 
like image 38
Jacob Avatar answered Sep 21 '22 13:09

Jacob