Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Text Feild Help!?

Featured Replies

Hey, I'm currently designing a Text based mafia game and I'm having a small problem with my CSS in a text feild. As you can see in the image below it's sort of miss-places, And i need it to be like about 2 px from the left, or maybe even centered, and about 1-2px from the top, so it's perfect like a normal text feild.

 

Here is the CSS for the feild:

 

.input {
   width: 220px;
   height: 24px;
   background-image:url(../imgs/indexlogin/INPUT.png);
   padding: 0px;
   margin: 0px;
   font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
   color: #101010;
   border: 0px;
   margin-left: 1px;
}

 

and here is an image of the problem:

 

nlrfjp.png

 

 

Thanks!! Help would be very much appreciated!!!! Thanks

Hey smudge,

 

you can add padding to input fields too, so just give it some padding:2px; :)

  • Author

Hey smudge,

 

you can add padding to input fields too, so just give it some padding:2px; :)

 

Thanks, I tried your suggestion and it worked! I just changed some stuff such as:

 

padding: 3px;
background-repeat: no-repeat;
background-color: 2e2e2e;

 

Thanks!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.