gpt4 book ai didi

css - 素面 : How to give alignment to a dashboard?

转载 作者:太空宇宙 更新时间:2023-11-03 19:32:40 25 4
gpt4 key购买 nike

我想在布局单元 (p:layoutUnit) 内将我的仪表板 (p:dashboard) 显示为居中对齐(垂直和水平)。我尝试提供 [position="center"] ,但没有用。我使用谷歌浏览器作为浏览器。

我应该如何实现相同的目标?

最佳答案

尝试将您的仪表板包裹在将居中对齐的部分中:

<div align="center">
<p:dashboard >
...
</p:dashboard>
</div>

关于css - 素面 : How to give alignment to a dashboard?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22988313/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com