---
title: "Textbox background"  
description: "Textbox background"  
author: "Anonymous User"  
published: 2013-09-25  
updated: 2013-09-25  
canonical: https://www.mindstick.com/forum/1531/textbox-background  
category: "html5"  
tags: ["html5"]  
reading_time: 1 minute  

---

# Textbox background

I wanted to set [text](https://www.mindstick.com/blog/301635/did-people-reinvent-texting-to-express-the-full-range-of-emotions) box [background](https://www.mindstick.com/articles/65/how-to-change-background-color-of-tab-control-in-c-sharp) to inform [users](https://www.mindstick.com/news/2244/issue-preventing-users-from-accessing-facebook-s-social-networking-platforms-has-been-resolved) to only enter %.

I wanted the % symbol to be [present](https://answers.mindstick.com/qa/96635/explain-about-the-various-features-present-in-ms-access) at one [end](https://yourviews.mindstick.com/view/88503/us-iran-war-live-updates-trump-says-us-in-no-rush-to-end-iran-war) of the text box even as the [user](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) is typing.

## Replies

### Reply by Anonymous User

You can use CSS (Cascading Style Sheets) Style Tags to add a color background to your form input boxes.\
The INPUT tag is used to create input fields within a web page form.\
You can change the font, input text color, input text size and the background color of your INPUT box by using the STYLE attribute.

```
<FORM><INPUT type="text" STYLE="color: #FFFFFF; font-family: Verdana; font-weight: bold; font-size: 12px; background-color: #72A4D2;" size="10" maxlength="30"></FORM>
```


---

Original Source: https://www.mindstick.com/forum/1531/textbox-background

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
