Re: vetical aignment of the text.



Mr. X. wrote:

In CSS, while using the property line-height:46px;

You shouldn't use the px unit for anything related to font size, except possibly in a user style sheet.

the related line is vertical-aliged differently on some browser by
default (Opera has center vertical alignment, and IE 5 and more has
the default of top-vertical-alignment).

What do you mean by that? Have you got a demo URL, and what makes you think the alignments are as you described?

--
Yucca, http://www.cs.tut.fi/~jkorpela/

.



Relevant Pages

  • Re: vetical aignment of the text.
    ... You shouldn't use the px unit for anything related to font size, ... possibly in a user style sheet. ... If you're going to give a line-height property in pixels, ... default (Opera has center vertical alignment, and IE 5 and more has ...
    (alt.html)
  • Re: Selector for content?/code in monospaced font
    ... Vertical alignment with the character above it. ... Vertical alignment has absolutely nothing to do with monospace vs. ... Try that with a proportional font. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Different font sizes in different columns
    ... If this is Word 97 or above, you might try changing the vertical alignment ... Word MVP FAQ site: http://www.word.mvps.org ... "Dave" wrote in message ... > have a larger font. ...
    (microsoft.public.word.tables)
  • Re: vetical aignment of the text.
    ... What is the property that may change the above vertical alignment? ... CSS sense) element. ... The default vertical alignment is baseline in every browser I know of. ... Things only go in the middle in Opera etc. when you set a big ...
    (alt.html)
  • vetical aignment of the text.
    ... In CSS, ... the related line is vertical-aliged differently on some browser by default ... (Opera has center vertical alignment, and IE 5 and more has the default of ... What is the property that may change the above vertical alignment? ...
    (alt.html)