Jump to content

Recommended Posts

Posted

Hey guys.

 

I'm still kind of new to CSS, and had a quick question.

 

Anybody know what the how to format the font/color/size for text inside a text box using css?

 

 

would you have to create a class and have the text box reference that class? if so, what properties do i assign to it?

 

.textbox ??{

font-size:

font-color:

}

 

Thanks!

Posted

To be honest a book is on css is your best investment.

But tizag.com has a good tutorial on css and more.

 

is this what you maen?

><style type="text/css">
<!--
TEXTAREA{
BACKGROUND-COLOR: #ffff99;
COLOR: #000000;
FONT: normal 100% Verdana,Arial,Sans-Serif;
}
-->
</style>

<textarea name="notes" rows="4" cols="40" maxlength="200"></textarea>

Posted

Thanks Don.

 

Those are the tags i needed.

 

I purchased CSS: The Definitive Guide and The Zen of CSS Design: Visual Enlightenment for the Web. Got them both on Amazon.com and hopefully they should be great help with CSS.

 

Sam

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...