Tanveer Dewan
Tanveer Dewan

Reputation: 35

Button (using <button> tag) does not display in Opera

On my website I am using the html 'button' tag but the button does not display when page is opened in Opera version 12.15. Works fine in chrome, firefox and IE. If you go to my cdn test site CDN Comparison u see cloudflare, incapsula and page speed images. below the three cdn images there's a button which does not display. It's supposted to be right above the 'Test and monitor image load speed of the top three Free CDN Service providers' sentence. please help.

<button id="button" onclick="changeLink()">Test Another Image</button>

I have not added any style to this tag using CSS

Upvotes: 1

Views: 164

Answers (1)

Ken Herbert
Ken Herbert

Reputation: 5236

It looks like Opera doesn't like showing the native-look button background on an element with both border-radius and border styles set, but no background-color.

To make it work you either need to specify a background-color for the element, or remove/override either the border-radius or border styles defined in style.css near line 208 (at least just for that element).

You can see the differences between the buttons with only very slight differences in style.

Upvotes: 1

Related Questions