Re: align property

On 26/01/2011 09:04, Bruno wrote:
> Vertical-align refers more to<img>  tag then on anything else, you
> can't align anything with 'vertical-align' inside box.

vertical-align applies to all inline elements, not just img.  However, 
its effects are subtle and surprising; many people find it non-intuitive 
but actually it produces sound typographical results (although it is 
only one of several models which could have been chosen).


There are a number of resources available online and in print for 
learning more about CSS.  The http://reference.sitepoint.com/css site 
seemed pretty good the last time I looked at it.

Once you've got a good understanding of the fundamentals, the next place 
to jump into is the CSS specification itself:

http://www.w3.org/TR/CSS2/

This is a technical document, not designed as a manual or tutorial but 
primarily as an implementation guide for browser manufacturers.  It 
takes perseverance to get the most from it, but it is your ultimate 
source of information about the CSS language.

Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Wednesday, 26 January 2011 08:25:16 UTC