/    Sign up×
Community /Pin to ProfileBookmark

How to isolate individual input="text" to modify size of input box

Well, I have a bunch of input=”text” type interfaces for a form and I need to modify one of them specifically which will have more words.

I tried to use class but that doesn’t seem to work. I also tried adding width directly to the

[CODE]
// small
input[type=”text”] {
width: 300px;
height: 30px;
vertical-align: top;
}
// big
input[type=”text”] {
width: 300px;
height: 300px;
vertical-align: top;
}
<input type=”text” name=”computer-model”> // this one normal
<input type=”text” name=”description-of-problem”> // this one big
[/CODE]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@cootheadDec 14.2014 — Hi there GreenAce92,

[indent]

simply use...
[color=navy]
input[name="computer-model"] {

}
input[name="description-of-problem"] {

}[/color]

[/indent]

[i]coothead[/i]
Copy linkTweet thisAlerts:
@GreenAce92authorDec 14.2014 — That was perfect thank you sir
Copy linkTweet thisAlerts:
@cootheadDec 14.2014 — [indent]

No problem, you're very welcome. ?

[/indent]

[i]coothead[/i]
×

Success!

Help @GreenAce92 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...