javascript - 如何添加
餐桌后?(php/JS/wordpress)
问题描述
我想在table后面加上p tage或者换行,这样table和div里面的内容就可以分两行显示了。
目前它们显示在一行中,非常混乱(i.imgur.com/7cnQhou.jpg)。
你能告诉我如何使用 php 或 JS 来做吗?
<div class="woocommerce-variation">
<input type="hidden" id="thwepof_product_fields" name="thwepof_product_fields" value="test2">
<table class="thwepo-extra-options thwepo_variable" cellspacing="0">
<tbody><tr class=""><td class="label leftside"></td>
<td class="value leftside">
<input type="text" id="test2" class="thwepof-input-field">
</td></tr>
</tbody>
</table>
<div class="quantity">
<input type="number" id="quantity_60" class="input-text qty" inputmode="numeric">
</div>
<button type="submit" class="single_add_to_cart_button">Add to cart</button>
</div>
谢谢你。
解决方案
推荐阅读
- ruby-on-rails - 将嵌套关联渲染为 json
- openstack - 乌苏里版 Openstack 中的 cpu_util 指标
- mysql - 为什么 express (node.js) 需要参数来删除请求?
- delphi - W1035 添加 try-finally 块后,函数“Test”的返回值可能未定义意外出现
- python - Python sum 函数返回舍入结果
- c# - 在配置选项时解析值
- javascript - 如何从节点 js-express 服务器中删除图像文件/字面上的文件
- python - Python Selenium Chrome“用户数据目录已在使用中”
- python - 将嵌套列表中的连续元素除以另一个列表中的连续元素
- html - 如何使用 CSS 使容器浮动在右侧并优先考虑垂直高度