Jump to content

submit button


The Little Guy

Recommended Posts

I wanted to apply the same style to all input submit buttons, without using a class or id.

 

I thought this would do it but it doesn't:

input:submit{
border-top:solid 2px #587464;
border-left:solid 2px #587464;
border-bottom:solid 2px #000000;
border-right:solid 2px #000000;
}

 

I think you are using the incorrect syntax for the "input:submit." But even if you do get it right, only Opera will render it properly, and maybe FF 3.0 beta. IE7 / IE8 will not render it properly.

 

The only solution is to use a class. :-[

Link to comment
https://forums.phpfreaks.com/topic/108476-submit-button/#findComment-556181
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.