Hi guys,
I have a webpage that is using third-party html that I cannot change. I can however edit the CSS style sheet. I have a "sliding-doors" style button that I want to swap for the default input button on the page, but I cannot figure how to do so using only CSS.
Here is the html of the button
<div>
<input type="button" style="margin: 10px 0pt 0pt; width: 60px; height: 25px; font-size: 11px;" name="search_btn" value="Search" onclick="DoSearchSalesExpanded(searchform);"/>
</div>
And here is the CSS of an existing button that I have which uses the "sliding-doors" method.
.clear { /* generic container (i.e. div) for floating buttons */overflow: hidden;width: 100%;}
a.button_oval {background: transparent url('http://mydomain.com/projects/buttons/sliding-doors/images/bg_button_oval_a.gif') no-repeat scroll top right;color: #222;display: block;float: left;font: normal 12px arial, sans-serif;height: 24px;margin-right: 6px;padding-right: 18px; /* sliding doors padding */text-decoration: none;}
a.button_oval span {background: transparent url('http://mydomain.com/projects/buttons/sliding-doors/images/bg_button_oval_span.gif') no-repeat;display: block;line-height: 14px;padding: 5px 0 5px 18px;}
a.button_oval:active {background-position: bottom right;color: #000;outline: none; /* hide dotted outline in Firefox */}
a.button_oval:active span {background-position: bottom left;padding: 6px 0 4px 18px; /* push text down 1px */}
Any help or advice would be appreciated.