【问题标题】:Trouble with moving to a Responsive Template迁移到响应式模板时遇到问题
【发布时间】:2013-11-13 07:02:33
【问题描述】:

我正在尝试通过 hostgator 使用 wordpress 插件将我的网站 www.trickmypup.org 更新为响应式主题(“前锋”)。我面临的问题是,当我切换到响应式主题时,我页面上的表格:基本、简单、中等和困难会完全混乱。

我有没有办法只为这些照片设置最大图像尺寸?或者一个代码可以让它保持与我现在所拥有的类似的格式?

【问题讨论】:

标签: html wordpress responsive-design wordpress-theming


【解决方案1】:

您可以尝试在表格中设置固定宽度。

而不是 100%:

<div class="entry-content">
        <table style="background-color: #ffffff;" width="100%" border="1" cellspacing="3" cellpadding="3">

您可以尝试以像素为单位进行设置。例如 570 像素;如图:

<div class="entry-content">
        <table style="background-color: #ffffff;" width="570px" border="1" cellspacing="3" cellpadding="3">

【讨论】:

  • 顺便说一句。您的谷歌分析令牌设置不正确。您的网站出现此错误:加载资源失败:服务器响应状态为 404(未找到)http://d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/YOUR_API_TOKEN/analytics.min.js
猜你喜欢
  • 2017-05-24
  • 1970-01-01
  • 2011-01-16
  • 1970-01-01
  • 2015-12-04
  • 1970-01-01
  • 1970-01-01
  • 2019-04-16
  • 2019-12-30
相关资源
最近更新 更多