Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很好奇让内容(例如 div)占据 t:panelTabbedPane 内 100% 的 t:panelTab 的正确方法是什么。似乎内容在无法指定样式的 div 或 span 中呈现。我能够做到这一点的唯一方法是使用绝对布局。有没有更好的办法?
您是否尝试使用tabContentStyleClassfor 属性提供自定义 CSS 类<t:panelTabbedPane>?假设您调用它ownStyleClass,窗格将呈现为
tabContentStyleClass
<t:panelTabbedPane>
ownStyleClass
<tr class="myFaces_panelTabbedPane_contentRow"> <td class="myFaces_panelTabbedPane_pane ownStyleClass" colspan="8">
这应该允许任何自定义布局。