开发者

cellpadding is missing on FACEBOX

开发者 https://www.devze.com 2022-12-18 04:31 出处:网络
I\'m using facebox ( https://github.com/defunkt/facebox ) with same code downloaded from github without any modification except remote.html

I'm using facebox ( https://github.com/defunkt/facebox ) with same code downloaded from github without any modification except remote.html

I JUST added this code in remote.htmlTABLE in facebox window with this code:

Hello World I'm remote.html, a different file loaded with ajax. I'm remote.html, a different file loaded with ajax.

PROBLEM: There is NO CELLPADDING on facebox window.

How can I solve this problem?

OR ANY OTHER SOLUTION TO REPLACE WIT开发者_如何学编程H FACEBOX?

Regards, Nuri Akman


It's because the facebox.css file contains this:

#facebox table {
   border-collapse: collapse;
}

Remove it or override it with other CSS.


On version Facebox 1.3 add this code in facebox.css:

 #facebox .content table tr td { padding: 4px; }
 #facebox .content table tr th { padding: 4px; }
 #facebox .content table { border-collapse: separate; border-spacing: 1px; }
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号