Previous Message
Next Message

div horizontal centering in Moz

Sent by Steve Clay on 15 September 2005 14:02

Thursday, September 15, 2005, 9:49:36 AM, shlomi asaf wrote:
> why moz doesnt support text-align:center

All major browsers support text-align [1].

The behavior you're expecting (that it affect block elements like DIV) was
a bug in IE5.x (retained in IE6 Quirks mode).

To center block elements, see: 

CENTER...just don't


"This property describes how inline aligned"
Inline elements are text & images, mainly.

-- :

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: