What are you styling? Is the ‘rcorners1’ a div?
Apply those styles to a div.
Here’s your code, but with the rcorners style applied to a div and a span: Check This Code
That will render your desired result.
Note: Also, consider using class instead of id when dealing with styles.