开发者

Set Table cellspacing in JQuery Datepicker

开发者 https://www.devze.com 2023-01-14 22:48 出处:网络
I\'m porting a website from PHP to ASP.NET MVC, and I\'m trying to mimic the original JQuery Datepicker.

I'm porting a website from PHP to ASP.NET MVC, and I'm trying to mimic the original JQuery Datepicker.

They used an older version, but I noticed I'll need to change the ce开发者_Python百科llspacing attribute on the generated of the Datepicker.

Any ideas how this can be done?


Try this CSS:

<style>

  table.ui-datepicker-calendar{
    border-spacing: 5px;
  }

  .ui-datepicker table{
    border-collapse: inherit;
  }
</style>

That border-spacing is the equivalent to cellspacing in CSS. I don't know if you need to adapt other classes in jquery-ui to allow for larger border-spacing values...

0

精彩评论

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

关注公众号