30 авг. 2012 г. · I'm trying to find a way to manipulate this via CSS if possible. I just need to apply some margin/padding to the text inside the textarea. Maintaining a padding inside of text-area - html - Stack Overflow How can I add padding to a textarea without causing the width ... Can I add margin inside textarea? - html - Stack Overflow Другие результаты с сайта stackoverflow.com |
13 июн. 2019 г. · The padding is not working as the text being typed goes under the emoji image rather than fold at 50px from the right of the textarea. |
25 июн. 2024 г. · To ensure a <textarea> fills 100% width without overflow when its parent has padding, use the box-sizing: border-box property. |
Instead of getting a textarea that has 5px between the textarea boundaries and the contained text, the padding is applied to a container outside the textarea. |
textarea { width: 100%; height: 150px; padding: 12px 20px; box-sizing: border-box; border: 2px solid #ccc; border-radius: 4px; background-color: #f8f8f8 |
6 мар. 2017 г. · Inside of my textarea, I wish to maintain a padding of 30px from the top. textarea { display: block; width: 300px; height: 50px; padding-top: ... |
17 апр. 2017 г. · Adding padding repositions scrollbar in a div with overflow: scroll or in textarea. If scrollbar is an indicator, it's impossible to avoid it going over ... |
27 авг. 2011 г. · To get the whitespace you just add bottom padding to the parent div. Here's an example: <div style="border: 1px solid #999; padding: 10px 10px 50px 10px;"> |
A good way to add padding or a margin inside of a text area. The text is butted up against the leftmost border of the text area and I'd like it to have a bit ... |
30 дек. 2021 г. · I am working on my markdown previewer and wondering how to get a text area to conform to a container. This is what the HTML currently looks like. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |