为什么设计会在网站托管时发生变化

时间:2017-06-27 09:42:02

标签: jquery html css asp.net

我正在尝试将数据表添加到我的asp.net Web应用程序中。虽然我从visual studio设计运行应用程序看起来像这样:

enter image description here

但是当我打开与网站相同的解决方案时,设计更改为:

Table design after hosting

为什么会发生这种错误?我检查了<link href="css/style.datatables.css" rel="stylesheet" /><script src="js/jquery.dataTables.min.js"></script>两个文件位置看起来没问题,并且没有重复链接。如何在托管之前测试这些类型的错误(cz从visual studio运行时看起来很好)?

请帮我找一个解决方案..

1 个答案:

答案 0 :(得分:0)

您的容器宽度存在问题,使您的外部容器宽度为100%,并且看起来它看起来像VS。

关于排序箭头,您需要为背景图像设置无重复属性

例如:.sort {background:no-repeat url(&#39; sort.png&#39;)}

相关问题