Sent by david on 13 January 2007 21:09
Mark Lundquist wrote:
> On Jan 13, 2007, at 12:50 PM, david wrote:
>
> My understanding is, no, text-align is only supposed to align text.
>
> That's incorrect; see http://www.w3.org/TR/CSS21/text.html#alignment-prop:
>
> "This property describes how inline content of a block is aligned [etc...]
>
> All of this section is worded in terms of "inline content" or "inline
> boxes", not text /per se/.
Then the W3C's choice of "TEXT-align" is a bad choice. It specifies
"text" when it's really talking about something broader than what people
think of as text.
Something like horizontal-align would make more sense to me, or align-x
to parallel the repeat-x, repeat-y values for background images.
> The fact that IE6 also aligns images when you use it is wrong.
>
> Who said anything about IE? :-)
Nobody did, but the original poster didn't specify any browser at all.
I've quite often seen people do that when they use IE because they think
everyone uses IE.
> All browsers do it, and it's not wrong!
>
> Now, what IE does do wrong is that it also centers block content within
> a container that has 'text-align: center'. This may be what you are
> thinking of.
Yah, that's what I was thinking of.
--
David
[EMAIL-REMOVED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/