I'm doing some css for my form that looks like:
<sf:form>
<table>
...
</table>
</sf:form>
(according to Spring framework form tag)
I want to select this form and can't do it in traditional way:
sf:form {
property: value;
}
because of the colon interpreted by css.
I know that I can add an identifier to my form, such as id
or class
to select it, but also it's interesting for me if there is a way to do it with some css trick. Maybe, taking the parent element of a table
tag will take care of it? The sf:form
could be taken as parent of a table by:
sf:form>table
But here we have this annoying colon again.
So, can I take a table
parent tag without specifying the sf:form
one? Or, maybe, there are another ways of dealing with such elements as colon that breaks the structure of a tag in the css case?