It's a simple question, is it possible to give style to the component p:fragment
?
There aren't any style
/styleClass
/class
attributes for p:fragment
specified in the documents (5.0) (although my IDE suggests me to use class
based on the library but it doesn't work).
Basically what I want to do is to change the display to:
display: inline;
Because by default the component is rendered as a div
with display: block;
I know I could use the id
attribute and give it some style, but I don't want this solution because I have multiple fragments and it would be quite ugly.