whytheq whytheq - 1 year ago 126
CSS Question

Button background color in webpart

I'm using an html file with the following css / html - in the browser this button comes through as expected - orange - but when uploaded to a sharepoint webpart it has a white background - what could be the reason for this?

Are there other properties I could use to enforce this styling?

.clickBut {
font-family: verdana;
font-size: 9px;
font-weight: bold;
background-color: #ffa500;
border-radius: 100px;
shape-rendering: crispEdges;

<input id="clickMe" type="button" value="Refresh|Reset" onclick="resetRefresh();" class="clickBut" />

Answer Source

test background-color: #ffa500 !important;

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download