On Wed, Dec 28, 2011 at 8:20 PM, Joergen W. Lang <[email protected]> wrote:
>
> Am 28.12.11 11:39, schrieb Ghodmode:
>
>> On Mon, Dec 26, 2011 at 9:27 PM, Aaron Gray<[email protected]>
>>  wrote:
>>>
>>> Is there another way with HTML 4.01 strict to vertically and horizontally
>>> centre an<img>  within a page other than boxing it by<div>'s and turning
>>> them into 'display: table' and 'display:table-cell', and aligning them to
>>> center, middle ?
>>
>>
>> Hi Aaron.  Use a table-based layout... well not really :D
>>
>> .containing_element {
>>     display: table-cell;
>>     vertical-align: middle;
>> }
>
>
> This is exactly what the OP did *not* want. Aaron was explicitely asking for
> a method to vertically and horizontally center an image *without* the use of
> /display: table/ or /display: table-cell/.

Yes you're absolutely right.  I don't know how I missed that.  I'm
sorry for my misunderstanding.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to