/    Sign up×
Community /Pin to ProfileBookmark

Form Properties.

Hmm… Newbie to CSS

I use limited CSS to my web pages, now my current web page, I need color format and align to my forms in HTML.

I have couple of drop down menus, and a text box and a picture button.

Now with the drop down menus I need to format with CSS sytle for background color, font color, and arrow buttons and scroller colors.

With Text box I need only the border formating (color)

And atlast I have a image which is 20×20 and this is going a bit up in the form I don’t know how to align center all this (all are on the same horizantal level)

Thanks in Advance.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@swonJan 29.2003 — If understood you correctly, you are searching for something like that:

<style type="text/css">

<!--

select,option{

background-color:green;

color:white;

}

textarea{

border:1px solid green;

}

-->

</style>

<body>

<div align=center><img src="1.gif" width="20" height="20" border="1" alt="">

<select>

<option>test</option>

</select>

<textarea name="" cols="20" rows="20"></textarea>

</div>

</body>
×

Success!

Help @urxlnc 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.20,
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,
)...