function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anil ChunduAnil Chundu 

On Visual ForcePage Submit button is in white color instead black color

Hi

We have a visualforce page with submit and cancel buttons. From last one week "submit button" is changed into white color instead black color. We didn't change the code,it was lastmodified on 2012.
For your reference please click the below link
http://cambridge.force.com/icrequests?src=web&isbn=9781107664340

Please guide me asap which is critical issue for us.  Without submit button visible users can not process the page.

Note: Functionality everything working fine.

Thanks
Amit Chaudhary 8Amit Chaudhary 8
This is look like some css issue.
Option 1:-
<style type="text/css">

input.custom { background-color:blue !important; color: #fff;} 

</style>

Option 2:-

<div class="btn-primary1"><apex:commandButton value="Submit" action="{!sumit}"/></div>

Please let us know if this will help you

Thanks
Amit Chaudhary
Amit Chaudhary 8Amit Chaudhary 8
 
<apex:page standardstylesheets="false" showHeader="false">
<style>
.button1
{
background-color:#00FF00;
font-weight:bold;
color:#E56717;
}
</style>
<apex:form >
    
        <apex:commandButton styleclass="button1" value="Click Me!"/>
        
    </apex:form>
</apex:page>

 
Anil ChunduAnil Chundu
Hi Amit,

Thanks for your reply.
What ever you suggested everything is there.
Can you please give me your mail id,i will forward that snippet of code.

Thank you
Amit Chaudhary 8Amit Chaudhary 8

.buttons span.primaryaction a { background: url(http://www.cambridge.org/other_files/images/acpro/buttons/acpro_btnprimary_right.gif) no-repeat  right; color: #000 !important; }

I hope this resolved your issue