07-01-2008, 02:11 AM
|
#6 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by delayedinsanity
Code:
form input[type="text"]
{
background-color: #CC0000;
}
form input[type="submit"]
{
background-color: #FF0000;
}
|
Just to note it, even thought it might not be that important then IE6 and lower will not interpret [attribute="value"] in CSS, so to gain IE6 and lower support use class names =)
__________________
|
|
|