【发布时间】:2012-06-16 08:50:49
【问题描述】:
为了创建一个带有Typo3 和Twitter Bootstrap 的响应式网站,我想删除图像的height 和width 属性
这是通过 text & image 和 image
类型的内容元素在前端生成图像的方式<img src="typo3temp/pics/a625b79f89.jpg" width="300" height="226" alt="blabla" />
我想删除维度属性并得到这个:
<img src="typo3temp/pics/a625b79f89.jpg" alt="blaba" />
谁能帮帮我?
【问题讨论】:
-
如果 jquery 适合你,那么请看这个api.jquery.com/removeAttr
标签: html content-management-system typo3 responsive-design typoscript