Posted by Ben C on 01/12/07 23:48
On 2007-01-11, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Scripsit Andy Dingley:
>
>> Johnny wrote:
>>
>>> Do you mean that if an inline element is contained in a block
>>> element, the "text-align" won't take effect?
>>
>> How could it? What does "alignment" mean to something that's inline
>> and thus doesn't have the right sort of "box" to align things into?
>
> Of course it _could_. An inline element _could_ have a width wider than
> needed for its content, and its content might be aligned within that box.
That's pretty much exactly what an inline-block is.
Navigation:
[Reply to this message]
|