2014年1月6日
摘要: setInternal每隔一段时间刷新,滚动条scrollTop属性值示例:setInterval(function(){var element=document.getElementById("content");element.scrollTop=index*38; //或..+=38; },1000); 阅读全文
posted @ 2014-01-06 17:32 木采薇 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1.IE下表格显示不规范问题,表格溢出出错原因,一般是页面css或条件不规范。可能的原因:(1)页面布局不规范或css样式不规范,例如:width忘记写‘;’或border=‘1’,一般最好写为style中样式 (2)表格内if语句,最好写在tr下,不要在td上使用if,宁愿把相同的td内容写两遍,也不要偷懒使用if、else某一单元格 (3)标签样式:tr或font之类标签,background、color之类样式最好改为class (4)如果没有不规范的css,也不是以上几种原因,考虑页面是否使用了模板,是否包含一下内容: ... 阅读全文
posted @ 2014-01-06 17:25 木采薇 阅读(187) 评论(0) 推荐(0) 编辑
摘要: php开发环境配置 --1--apache环境配置:httpd.conf (1)# LoadModule rewrite_module modules/mod_rewrite.so(注意:是mod_rewrite 前面的"#"去掉) (2)文档中所有凡是出现 AllowOverride为None (3) Options FollowSymLinks AllowOverride All Order deny,allow Deny from all(改为allow from all) (4)DocumentRoot "C:/wamp/www" apache 阅读全文
posted @ 2014-01-06 17:23 木采薇 阅读(317) 评论(0) 推荐(0) 编辑