/    Sign up×
Community /Pin to ProfileBookmark

textarea width / height

I did some googling but couldn’t find anything. Can I specify width and height in pixels like this?

<textarea rows=”0″ cols=”0″ style=”width: 0px; height: 0px; display: none;”>

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326May 21.2007 — Sure. The element may not obey it but you can do it.
Copy linkTweet thisAlerts:
@robindeanauthorMay 21.2007 — Well, I'd prefer to do it according to standards ... which was the root of my question.

I have an additional question. How do I format this to be placed within my external stylesheet file?
Copy linkTweet thisAlerts:
@ray326May 21.2007 — Give the textarea a class like "noshow" and do something like<i>
</i>textarea.noshow {
width: 0;
height: 0;
display: none;
}
×

Success!

Help @robindean 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.17,
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,
)...