/    Sign up×
Community /Pin to ProfileBookmark

How to make a site search box smaller.

Hello everyone,

I am designing an interface and my client wants a small site search box. Most of the search boxes I have seen are approximately 22 pixles high.( Yahoo, MSN, Google) I have space for 11-13 pixels. I am wondering what I will need do to 1>make the text entry box this small and 2> how to make the text inside smaller as well.

Any ideas,
Jason
[email][email protected][/email]
(please take out the NOSPAM to email me)

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWJan 16.2004 — experiment with this: (put it in the head section of your code.)

<style type="text/css">

<!--

input {

font-size: 10px;

}

-->

</style>

decrease the font size as required. the box will shrink with it.
×

Success!

Help @--- 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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