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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Layout Title Rounded Corner Border
Hi all.
I found cool rounded Corner Border style:
.rounded_border {
border-radius: 25px;
border: 2px solid #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}
How to make it Titled too?
Regards
Darek
Hi,
what do you mean by "titled"? Can you show an example?
Best regards,
Olli
Hi Olli.
Example in Swing titled boreder left center right;
http://www.java2s.com/Code/JavaImages/TitledJustBorder.PNG
Look also at attachments.what efecct i need to do:
Rounded Corners i have, i need to add tittle to border.
It is possible?
Regards
Darek
Hi,
the border itself doesn't have a Title attribute like that. In order to have text over the border, you'll need to position a text element over it. How to do this depends on your HTML; by this StackOverflow answer it seems that <fieldset>'s <legend> behaves pretty much like that out of the box. You could also position a div element like that with e.g. negative margins.
-Olli
Thanks a lot!!
That is what im looking for.
Regards
Darek