/    Sign up×
Community /Pin to ProfileBookmark

padding inside textbox

if you look at the search box at the top of this page, how can I get the text inside the search field to be padded by 16px? I have a left padding of 16px in my styles, but it’s not moving the text over

[URL=”http://www.zluth.org/”]http://www.zluth.org[/URL]

thanks.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@turborakettiMar 05.2008 — Padding left is set to 16px in main.css,
[CODE].header-breadcrumbs .searchform input.field {width:10.0em; [COLOR="Green"]padding:0.2em 0 0.2em 16px;[/COLOR] border:1px solid rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:120%; background:transparent url(/images/search_icon.png) no-repeat; }[/CODE]
but is then set back to 0 in default-text.css.
[CODE].header-breadcrumbs .searchform input.field {float:left; width:158px; margin-right: 0.5em; [COLOR="Red"]padding:0.1em 0 0.2em 0 !important /*Non-IE6*/; padding:0.2em 0 0.3em 0 /*IE6*/;[/COLOR] border:1px solid rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:120%;}[/CODE]
Copy linkTweet thisAlerts:
@jrthor2authorMar 06.2008 — Duh.

Thanks
×

Success!

Help @jrthor2 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.18,
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,
)...