生成html后消除分隔撇号layoutUnit的元素 [英] Eliminate the elements that separates primefaces layoutUnit after generate html

查看:97
本文介绍了生成html后消除分隔撇号layoutUnit的元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以消除或编辑分隔撇号layoutUnit元素的元素(顶部,西边,中心等)? 这些元素的ID以结尾 -调整大小

Is it possible to eliminate or edit the elements that separates primefaces layoutUnit elements (top, west, center, etc)? These elements have id ending with -resizer

我在primefaces-3.1.1.jar中找不到哪个类.

I can't find which class do it in primefaces-3.1.1.jar.

例如,当元素layoutUnit西生成为html后具有css属性

For example, when element layoutUnit west after generate into html has the css attribute

position: absolute;
left: 0px;
width: 94px;

然后将生成的html元素中正确的layoutUnit具有css属性

then the right layoutUnit after generate into html element has the css attribute

position: absolute;
left: 107px; 

因为它们之间是带有属性的调整器元素(div)

because between them is generated resizer element(div) with attributes

position: absolute;
left: 100px;
width: 6px;

如何避免这种影响?

推荐答案

使用装订线属性.设置为零

Use gutter attribute. Set it to zero

这篇关于生成html后消除分隔撇号layoutUnit的元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆