0

Textbox style padding problem

asked 2009-08-25 10:16:58 +0800

SerFingolfin gravatar image SerFingolfin
70 2

Hi everybody.

<textbox value="name" constraint="no empty" width="150px" style="padding-left:10px"/>

This code does not "moves" my textbox 10px away from left margin, but the text contained inside!
It's a strange behaviour, maybe a bug i think.
I see all my components correctly padded 10px, except for textboxes : how is it possible?

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-08-25 12:11:24 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

updated 2009-08-25 12:19:45 +0800

you can change style value "padding-left:10px" to "margin-left:10px"

/jimmy

link publish delete flag offensive edit

answered 2009-08-25 12:34:25 +0800

SerFingolfin gravatar image SerFingolfin
70 2

It's working, thanks a lot!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-08-25 10:16:58 +0800

Seen: 267 times

Last updated: Aug 25 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More