关于PHP输出表格在wordpress下自适应的问题

qq_24257831 2015-01-26 03:50:07
事情是这样的,我个人不懂PHP,想建个站点。
用了wordpress,然后我想实现php下直接读取excel,于是找到了一个程序php-excel-reader-2.21
我把读取的代码插入到page.php文件里,但是读取的表格却是这样的。
http://www.pooal.com/sample-page/
我尝试使用CSS控制,但是自适应没效果。请问应该如何修改才能得到跟主题一样的宽度?
...全文
72 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
* 添加复制时版权提示 * 禁止站内相互pingback * 修复置顶文章后显示错误 * 修复因PHP7+ 而导致class.tgm.php的标题错误 * 修复默认小工具CSS显示问题 * 添加 手机端底部友情链接**v1.20_local_shenyun** * 以下版本为神韵博客(https://51shenyun.cn) 基础于Alatelee(http://agatelee.cn)的修改* 添加评论算数验证码 * 添加侧边栏缓存 使其静态 减少数据库查询 /更新周期1小时 可在sidebar.php修改 * 优化SEO修改在首页时logo为h1标签 文章时标题为h1标签 logo为h2标签 * 优化SEO为head添加canonical标签 利于收录 * 移除预获取DNS 加快加载速度 * 移除更多无用head头 更加简洁**v1.11_local** 修改了显示bug, * 自定义表情支持 * 修改了all.js * 手机上点击评论表情dropdown无法弹出 * ipadmini2纵向放置出现了mobile-menu无法触发 * 桌面浏览器缩小窗口出现了mobile-menu无法出发 * 关于页面IOS移动设备可以触发hover事件 * 显示微信二维码 * 使用https方式获取gavatar头像,避免被墙 **v1.10_local** 更正了logo分辨率、将代码中的tab替换为4个空格**v1.09_local** 自定义表情支持,评论表情选择**v1.08_local** Alatelee(http://agatelee.cn)修改版* 关于页面功能增加 * 404页面功能增加 * 增加了分类页面 * 本地化 * 替换了首页logo * 替换了默认图片 * 备案号 * 对于置顶的文章显示全文 * 重新设计了404页面 ![](public/images/404.png) * 增加了表格样式 * 增加了代码样式 * 增加了友情链接页面 * 增加了关于页面**v1.06** 牧风原版
中文名: 每天一小时自学使用HTML和CSS进行网站发布 (第6版,涵盖HTML5) 原名: Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, 6th Edition 作者: Laura Lemay Rafe Colburn 资源格式: PDF 出版社: Sams书号: 978-0-672-33096-4发行时间: 2010年08月 地区: 美国 语言: 英文 简介: 内容介绍: Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day, Sixth Edition is the latest edition of the original worldwide bestseller. The entire book has been thoroughly revised and refined to include new detailed coverage of HTML5, the next major revision of the core language of the World Wide Web, HTML. Work on the HTML5 specification is still ongoing, but parts of HTML5 are already being implemented in new versions of Microsoft Internet Explorer, Mozilla Firefox, Safari and Opera. 目录: Part I: Getting Started 1: Navigating the World Wide Web 2: Preparing to Publish on the Web 3: Introducing HTML5 4: Learning the Basics of HTML Part II: Creating Simple Web Pages 5: Adding Links to Your Web Pages 6: Formatting Text with HTML and CSS 7: Adding Images, Color, Backgrounds Part III: Doing More with HTML 8: Building Tables 9: Creating Layouts with CSS 10: Designing Forms 11: Integrating Multimedia: Sound, Video, More Part IV: JavaScript and Ajax 12: Introducing JavaScript 13: Using JavaScript in your Pages 14: Using JavaScript Libraries and Ajax 15: Working with Frames and Linked Windows Part V: Designing Effective Web Pages 16: Writing Good Web Pages: Do's and Don'ts 17: Designing for the Real World 18: Advanced CSS Techniques Part VI: Going Live on the Web 19: Putting Your Site Online 20: Taking Advantage of the Server 21: Using Tools to Make Publishing Easier

21,893

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧