Friday, June 19, 2009

css: absmiddle

If you set the align attribute of the <img> tag to absmiddle, the browser will fit the absolute middle of the image to the absolute middle of the current line. This is different from the common middle and center options, which align the middle of the image with the baseline of the current line of text (the bottom of the characters). Though Netscape and Opera do not distinguish absmiddle from middle alignments, Firefox and Internet Explorer use it to differentially align images from their middle valuesin other words, Firefox and Internet Explorer's absmiddle alignment is the same as Netscape's middle.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home