html-input


Can I change the width of a textfield in webapp


I am making an app for iOS, Android, BB, and also any other devices. I ma working with webapp-net.
In my app I have a fieldset containing different textfields. So this is what I have:
<fieldset>
<ul>
<li><input type="text" id="cc" placeholder="Card Number" autocomplete="off" onkeypress="return isNumberKey(event)" maxlength="23"/></li>
<li><input type="text" id="chn" placeholder="Holder Name" autocomplete="off" /></li>
<li><input type="text" id="cvc" placeholder="CSC" autocomplete="off" maxlength="4" /></li>
</fieldset>
For CSC, I need it to be only for 4 numbers, but I cant change the width. I also want to be able to create a pop up/dialog box, so when you click on CSC a box will appear with a little information about CSC.
I tried, but I cant even change the width. So if you know how to fix this problem please let me know!
Try using size attribute :
<input type="text" maxlength="4" size="4" />

Related Links

HTML weird GET parameters
Can I change the width of a textfield in webapp

Categories

HOME
xamarin
omnet++
yum
podio
portia
collectd
visual-studio-cordova
percona
quartz-scheduler
ef-migrations
flux
contextmenu
one-hot-encoding
sox
dcevm
xacml
delicious-api
socialengine
jspresso
winrt-xaml-toolkit
http-referer
adobe-premiere
libvpx
dynamics-crm-2013
withings
avro4s
g-code
midl
checkboxlist
auto-update
logfiles
python-c-api
integrity
snmptrapd
epson
smart-table
mediaelement
wdf
heidisql
gridpane
phishing
mikroc
trash
mongocsharpdriver
bstr
simplewebrtc
moveit
superstack
sdf
eclipse-clp
collapse
intellij-14
libressl
riak-cs
method-parameters
event-bubbling
c++03
rake-task
clicktag
codeigniter-url
socketexception
xcode-6.2
reactfx
seaside
quantlib-swig
dexterity
runtime.exec
interface-orientation
type-equivalence
specification-pattern
automount
armcc
buildr
removeclass
gwt-ext
gnu-prolog
appender
celltable
cxxtest
digest-authentication
filtered-index
nhibernate.search
temporal-database
aquaticprime
post-build
ugc

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App