The following styles are all input tags, which means that any type of input tag is styled.
input { color:#050; font: bold 84% 'trebuchet ms',helvetica,sans-serif; background-color:#ffffff; border:1px solid; border-color: #696 #363 #363 #696;
}
how to isolate it, so that all input buttons "types" are styled differently than text "types", without the need to add / use "id", "class" or "name".
It should be a cross-browser solution.
input[type=text]{ color:#FF9900; } input[type=password]{ color:#FFFF00; } input[type=submit]{ color:#FFFFFF; }
, , , , . , . , , , () 100px 2px , submit , 3/4 ., .
css2 , citricsquid pixeltocode...
IE7.. , , CSS pre-IE7
, javascript IE6..
miscrosoft: CSS Internet Explorer
HTML
input[type=submit] { color: #050; }
Source: https://habr.com/ru/post/1731731/More articles:Why doesn't my standard IE6 stylesheet work? - htmlWhy don't all Java classes have interfaces? - javaDoes the same data return linq for two different executions of the stored procedure? - linqVisual Studio 2010 version control and bug tracking features - perforceВ качестве эксперимента я хочу немного поработать с AWS. Сколько я могу заплатить? - amazon-web-servicesServer architecture for embedded device - cWhat is p-notation in C programming? - cHow to resolve a URL with links to non-ancestors - c #Port Numbers and URLs - c #SQL Server: getting a query with an error - sql-serverAll Articles