Styling input based on their type with CSS
October 14, 2007
<style type=”text/css”>
input[type="text"]
{ width: 200px; }
input[type="button"]
{ width: 200px;
background:red; }
</style>
body goes here
<body>
Suresh Kumar:<input type=”text” />
<input type=”button” />
</body>
Entry Filed under: css. .



Trackback this post | Subscribe to the comments via RSS Feed