/    Sign up×
Community /Pin to ProfileBookmark

Lost scrollbar in textarea for Firefox

[code]
* html .finput { height: 19px; } /* big enough for styled text */
.finput { /* input boxes on forms */
height: 15px;
border-top: 2px solid #0000B0;
border-left: 2px solid #0000B0;
border-right: 1px solid #8F8F8F;
border-bottom: 1px solid #8F8F8F;
padding: 0 2px 0 2px;
background-color: #FFFFFF;
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: normal;
color: #000000;
}
// and
Message<br>
<textarea name=’Msg’ class=’finput’ style=’width:420px; height:30px’></textarea>
[/code]

The css is used for text inputs as well as for textarea input. The former (for which I specify width only, of course) is perfect, the latter is also except that there is no scroll bar in Firefox. FF normal behavior is that none is present until needed, but with this usage none becomes available when needed either. In all other respects, and for IE, the textarea behaves properly.

Ideas how to restore the scrollbar?

You can see it in action on [URL=http://www.sonora-sw.com/railroad/email.php]this[/URL] page.
Edit again: I increased the height to 50px (strictly a style issue, actually) and the scrollbar returned.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@pointfiftyaeSep 19.2005 — I think that the height of the textarea is too small, with a 100px height there's no problem.
Copy linkTweet thisAlerts:
@JayhawkauthorSep 19.2005 — ...and was typing that edit while pointfiftyae was typing his response, which was precisely correct. Thanks, pointfiftyae.
×

Success!

Help @Jayhawk 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.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...