Is there a CSS alternative to the calc
function that can be used for older browsers (such as the default Android browser) in order to dynamically set the width of input text fields while leaving space on the right for a submit button?
This is my current CSS code:
div .feedburner form input[type=text] {
width: calc(100% - 76px);
}
I attempted an alternative method, inspired by this solution, but it did not work as expected:
div .feedburner form input[type=text] {
/** width: calc(100% - 76px); */
padding-right: 76px;
width: 100%;
}