防止dreamweaver表格不被内容撑大而变形
在dreamweaver中,有时候我们在添加内容时,由于图片宽度过大,或者其他原因会把网页撑变形,样子很难看。如何让表格不变形呢? 把这个代码加到内容的TABLE中就可以了! style="TABLE-LAYOUT: fixed" 例如,找到文章内容页模板content.html,找到以下代码 <table width="100%" align="center" cellpadding="0" cellspacing="0"> 替换为以下内容: <table style="TABLE-LAYOUT: fixed" width="100%" align="center" cellpadding="0" cellspacing="0">
来源:互联网
|