Textshift (Was: Re: vAlign Images in lines of text)

2005-10-25 Thread Dom
Ken Ray <[EMAIL PROTECTED]> wrote: > The answer is "yes", you can use the little-known "textShift" property of > text to shift the image (or the text, your choice) above/below the baseline. Note that this also useful for larger text sizes, as "superscript&q

Re: textShift

2005-03-13 Thread Derek Bump
Well, thanks to all for the help. I finally figured out what I was looking for. I can achieve the result I'm looking for by setting the lineHeight of the button. Unfortunately, when it comes to menus, it affects the height of the menuItems as well, so it's now of no use to me at all. Derek

Re: textShift

2005-03-13 Thread Bruce Lewis
Jeanne, I guess you were never a letterpress printer. ;0-). It does not seem like a hack to me. The "right" way to raise the height of a line of type within a pre-defined area was to put a strip of metal below and remove a corresponding strip from above (and vice versa). Adjusting the margins se

Re: textShift

2005-03-11 Thread Derek Bump
> Are you trying to move the text of the button around to get a different > relationship to where the icon is? Try changing the margins. (This isn't > very direct - it's a hack - but you can use it to move the text up or > down from its normal position.) No, what I'm trying to do is move the text o

Re: textShift

2005-03-11 Thread Jeanne A. E. DeVoto
At 6:26 AM -0600 3/10/05, Derek Bump wrote: Correct me if I'm wrong, but couldn't you at one time use the textShift property on buttons? If this is not the case, I just looked at the documentation for the equivalent for buttons, and I can't find it. Anyone know what it is? Ar

textShift

2005-03-10 Thread Derek Bump
Correct me if I'm wrong, but couldn't you at one time use the textShift property on buttons? If this is not the case, I just looked at the documentation for the equivalent for buttons, and I can't find it. Anyone know what it is? Derek Bump Drea