Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 10th, 2004, 07:47 AM
teenagezombie teenagezombie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 teenagezombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question form help

I probably sound like a complete n00b here, but I really need help with my forms.

I know the different input types and such, but what I need to know is how to change the look of the input fields. I'd really love to change the background color of the text area, and add a dashed border. I know this is probably the most basic thing ever, but I just can't find any advice on it.

Help would be reeely appreciated. Thank you

-mwahs-

Reply With Quote
  #2  
Old February 10th, 2004, 08:46 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Just apply css to the fields. For example, define a css selector named bluedotted whose definition is something like the following:

Code:

.bluedotted{
    background: 00f;
    color: #fff;
    border: 1px dotted #000;
    padding: 2px;
}


Then when adding the textarea to your HTML, just use the following:

Code:

<textarea name="blah" rows="5" cols="40" class="bluedotted"></textarea>


If you're not familiar with css, there are a bazillion tutorials and references out there. One of the best references in my opinion can be found at http://www.devguru.com.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old February 10th, 2004, 04:46 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Quote:
Originally Posted by dhouston
If you're not familiar with css, there are a bazillion tutorials and references out there...
I think it might actually be closer to a gazillion!

Teenagezombie - the easiest way to find out how someone did something is to "View Source"
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #4  
Old February 12th, 2004, 04:42 PM
jonny_Q jonny_Q is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 5 jonny_Q User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to jonny_Q Send a message via AIM to jonny_Q
I personally think the BEST place to begin with CSS is w3schools.com

Then go to index dot css to get REAL familiar with it.

People will tell you to put your style tags in the <head> of the document, and overall that is best, but I'm not opposed to this:
Code:
<form class="blueform" method="..... >
<style type="text/css"><!--
.blueform .blueinput
/* This affects everything with a class of "blueinput" inside an element with a class of "blueform" */
{
  background-color: #0000dd;
  border: thin dotted green;
  color: white;
  font-family: "Arial";
  width: 150px;
}
--></style>
<input class="blueinput" type="text" name..... />


You can also change the styles of <textarea>, <select>
If you modify the style of buttons, they'll become square blocky buttons instead of pretty Windows XP or Max OS/X buttons. You can use images for buttons, but that's another lesson for another day.

You can modify the style of checkboxes and radio buttons, but not much and I've never done anything with them that looked good.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > form help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway