Previous Message
Next Message

div horizontal centering in Moz

Sent by Steve Clay on 15 September 2005 15:03


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:
http://css-discuss.incutio.com/?page=CenteringBlockElement 

CENTER...just don't http://www.htmldog.com/guides/htmlintermediate/badtags/

Steve

[1]
http://www.w3.org/TR/CSS21/text.html#propdef-text-align
"This property describes how inline content...is aligned"
Inline elements are text & images, mainly.

-- 
http://mrclay.org/ : http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: