• Hi all,

    i want to make a space of 1px at the beginning of the entry in a text field by css. So that the cursor is not directly at the border of the beginning by entry a text in form. Space from cursor to border of the field ?

    THX in adv…

    tony

Viewing 1 replies (of 1 total)
  • The simplest way is to add something like this to your CSS:

    textarea { padding: 5px; }

    Of course, you can add whatever value there you’d prefer–it doesn’t have to be 5px.

    This will affect all the <textarea> elements on your site. If you want to be more specific–like just targeting a single page or a single field on a particular form–then you’ll need additional specifiers.

Viewing 1 replies (of 1 total)
  • The topic ‘Space of 1px cursor to border of form entry ?’ is closed to new replies.