input[type=submit], input[type=password], input[type=text]{
font-size:18px;
margin:0;
padding:4px;
width:225px;
}
On Apr 28, 1:43 am, Dave <[email protected]> wrote:
> Hi guys,
>
> I have the following style that I want applied to input[type=submit]
> input[type=password] input[type=text]. How do I do this without
> repeating the block of css for each one? At the moment I have copied
> it three times. See below:
>
> input[type=submit] {
> font-size:18px;
> margin:0;
> padding:4px;
> width:225px;
>
> }
>
> input[type=password] {
> font-size:18px;
> margin:0;
> padding:4px;
> width:225px;
>
> }
>
> input[type=text] {
> font-size:18px;
> margin:0;
> padding:4px;
> width:225px;
>
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---