如何删除服务器生成的两个CSS? [英] How to remove the clear both CSS generated by the Server ?
问题描述
我正在为Dotnetnuke使用Cartviper模块,这是一个已编译的模块。无法访问其代码。
在产品模板中,我可以自定义任何样式。但是,在每个产品的最后,他们添加另一个标签< div style =clear:both;> < / DIV> 。这可以防止流布局和每行中显示的产品。我无法编辑生成此div标签的代码。任何人都可以为此解决这个问题。它很紧急。 :(
这是服务器在列表中每个产品末尾生成的标签..
< div id = dnn_ctr436_Catalog_productList_ctl24_pnlProductDetails >
< div style = clear: > < / div >
< / div >
尝试使用Jquery删除样式
('div [style * = both]')。remove();
Hi,
I am using Cartviper module for Dotnetnuke, and that's a compiled module. Can't access its code.
In the Product Templates, I can customize any style. But, At the end of each product, They add another tag <div style = "clear:both;"> </div> . This prevents the flow layout, and the products shown in each row. I can't edit the code generating this div tag. Can anybody tell a work around for this.. Its urgent. :(
This is the tag generated by the server at the end of each product in list..
<div id="dnn_ctr436_Catalog_productList_ctl24_pnlProductDetails">
<div style="clear:both"></div>
</div>
Try to remove the Style using Jquery
('div[style*=both]').remove();
这篇关于如何删除服务器生成的两个CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!