certificates — 2013-11-19T10:35:09-05:00 — #1
My web page reads fine in Chrome, but on one of the buttons in IE half of text disappears and in Firefox it shows out of the box
The page is http://www.c5d.co.uk/descriptioned51891.php
Is the real answer to increase the button size, or reduce the text size in the button ?
I hope not because I want to keep the button & text all the same on all my pages
Thanks for any help
paulob — 2013-11-19T11:07:38-05:00 — #2
It's probably because the default padding on the button is different in various browsers. You could try:
However the text in the "Return to the 1981 Homepage" button is almost at full width and some browsers may render the text longer than will fit on one line so you could lengthen the button a little more.
Or perhaps use a min-width (IE7+) e.g.
The !important is needed because you have used inline styles and only !important will over-ride them.
certificates — 2013-11-19T11:27:50-05:00 — #3
Thanks, it almost worked as suggested !
Having done what you suggested it rendered in one straight line, but shrank the height of the button.
I added in (height:auto!important;min-height:30px) and it worked a treat !
Thanks for the prompt reply
paulob — 2013-11-19T12:25:44-05:00 — #4
You could have just added some padding top and bottom back into the rule as it was the horizontal padding extending the button:) However the min-width should do what you want anyway without changing the default padding.