---
title: "displaytag 标签 display:column 使内容居中对齐"
author: "llhdf"
date: "2010-02-03T14:32:12Z"
tags: []
categories: ["Web前端"]
slug: "displaytag-display-column"
draft: false
lastmod: "2010-02-03T14:32:36Z"
id: 586720
url: "https://llhdf.iteye.com/blog/586720"
---

适用display tag 标签，要想使内容居中对齐 text-align:center

 

&lt;display:column style="width:10%;text-align:center" maxLength="50"  
 titleKey="label.Facility" property="facility" &gt;  
&lt;/display:column&gt;