I've recently come across the concept that elements can have multiple classes. It's interesting, isn't it?
.rfrsh-btn {
background-image:url(../../upload/rfrsh_nb_grey.png);
...
}
.submit
{
font-size: 0.85em;
padding: 0;
}
Initially, this was working perfectly as an ID. However, after changing it to a class, I encountered a problem - the images disappeared.
Strangely, the <button>
element refuses to display with the background image and styles applied to it.
Could there be a reason for this, or am I missing something obvious in my code?
Unfortunately, using an ID is not an option since it is repeated several times on the page.
Any insights or advice would be greatly appreciated. Thank you all :)