Apache 显示目录列表时候,为什么属性字段不能对齐?
如果列表中的文件长度不一 ,属性中的 last modified 和 file size 就不不能对齐显示。。
会根据文件名的长度 错位 ,非常难看。
我想不管last modified 和 file size 显示的值是对齐的,如何设置了。
我的httpd.conf 文件
<Directory "E:/DataSheets">
Options Indexes FollowSymlinks
IndexOptions FancyIndexing ScanHTMLTitles NameWidth=40 DescriptionWidth=128 IconHeight=16 IconWidth=16 VersionSort FoldersFirst
IndexIgnore favicon.ico header.html footer.html icons
AddIcon /icons/doc.gif .doc .DOC .docx .DOCX
AddIcon /icons/pdf1.gif .pdf .PDF
AddIcon /icons/xls.gif .xls .XLS .xlsx .XLSX
AddIcon /icons/rar.gif .rar .RAR
AddIcon /icons/ppt.gif .ppt .PPT
IndexOrderDefault Ascending Date
AllowOverride None
Order allow,deny
Allow from all
</Directory>
会根据文件名的长度 错位 ,非常难看。
我想不管last modified 和 file size 显示的值是对齐的,如何设置了。
我的httpd.conf 文件
<Directory "E:/DataSheets">
Options Indexes FollowSymlinks
IndexOptions FancyIndexing ScanHTMLTitles NameWidth=40 DescriptionWidth=128 IconHeight=16 IconWidth=16 VersionSort FoldersFirst
IndexIgnore favicon.ico header.html footer.html icons
AddIcon /icons/doc.gif .doc .DOC .docx .DOCX
AddIcon /icons/pdf1.gif .pdf .PDF
AddIcon /icons/xls.gif .xls .XLS .xlsx .XLSX
AddIcon /icons/rar.gif .rar .RAR
AddIcon /icons/ppt.gif .ppt .PPT
IndexOrderDefault Ascending Date
AllowOverride None
Order allow,deny
Allow from all
</Directory>
作者: luoxianqiao 发布时间: 2009-07-30
QUOTE:
原帖由 luoxianqiao 于 2009-7-30 15:55 发表
如果列表中的文件长度不一 ,属性中的 last modified 和 file size 就不不能对齐显示。。
会根据文件名的长度 错位 ,非常难看。
我想不管last modified 和 file size 显示的值是对齐的,如何设置了。
...
如果列表中的文件长度不一 ,属性中的 last modified 和 file size 就不不能对齐显示。。
会根据文件名的长度 错位 ,非常难看。
我想不管last modified 和 file size 显示的值是对齐的,如何设置了。
...
没看明白?
作者: xuledw 发布时间: 2009-07-30
用 tab 别用 空格。
作者: vermouth 发布时间: 2009-07-30