Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 4 weeks ago
Using <p> tag
My UI designer has <p> tags in the html files that we use with CustomLayout. I can't seem to find a way to use the <p> tags because Vaadin creates div wrap-arounds for each element, so
<p>This is the text</p>
becomes
<p>
</p>
<div>This is the text</div>
The workaround that we've devised is for the UI designer to define a style class called "paragraph" and assign it to each div. We were wondering if this is the appropriate workaround or if there are other ways to use a <p> element.
Last updated on
You cannot reply to this thread.