HighDots Forums  

Re: dotted underline?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: dotted underline? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gerhard Fiedler
 
Posts: n/a

Default Re: dotted underline? - 09-09-2003 , 01:29 AM






On Tue, 09 Sep 2003 04:48:23 GMT, Brian wrote:

Quote:
Has anybody a suggestion how I can get a dotted underline that is at
about the same position as the text-decoration:underline?

Have you tried setting line-height and vertical-align?
- I need the font inside the underlined part at the same height as
outside of it, which means IMO that I need to keep the default
baseline alignment. Didn't try anything, because I don't know what I
would want to try here.

- The line height doesn't do anything to the position of the border.
AFAIK, the border of an inline element gets determined by the font and
not the defined line height. I verified this one, and it is as I
thought it was.

It seems another way to put the question is:

- Is there a way to further customize the text-decoration:underline?
- Is there a way to control the size of an inline box? (And no, that's
not the line-height.)

I just thought of a different solution: a background image that
provides the dotted underline. But I don't quite know how to position
it so that the dotted line is always just below the baseline, with the
potentially different heights of the fonts.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.