[英]How to make a GWT-like CaptionPanel manually
I am developping a JSF webapp, and I would like to make the same thing as GWT's CaptionPanel (title on the top border, see here ). 我正在开发一个JSF webapp,我想和GWT的CaptionPanel做同样的事情(顶部边框上的标题,见这里 )。 I did not find a JSF equivalent to it.
我没有找到相当于它的JSF。 How can I get the same result with pure HTML/CSS?
如何使用纯HTML / CSS获得相同的结果?
Thanks a lot! 非常感谢!
Take a look at HTML fieldset tag . 看一下HTML fieldset标签 。
<fieldset>
<legend>Title</legend>
</fieldset>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.