Re: Small problems with border-bottom for links, resolvable with outline-bottom?

On 01/25/2010 12:15 AM, Oli Studholme wrote:
> Hi All,
>
> Links are traditionally indicated via {text-decoration: underline;},
> however this can decrease legibility when the underline overlaps text
> descenders (g,p,q etc), or when it’s too close to a detailed character
> (eg complex kanji on XP). To get around these problems, it’s become
> fairly popular for designers to replace underline with border-bottom,
> for example {text-decoration: none; border-bottom: 1px solid
> #something;}. This also gives more flexibility as the underline’s
> color, width, style and distance from the text can be altered,
> allowing for eg far nicer :hover styling.
> ...
> Both of my problems would be solved by being able to use something
> like outline-bottom instead of border-bottom....

Seems to be that better controls over underlining would be a better
idea than trying to rope 'outline' into the job, no? :)
   http://dev.w3.org/csswg/css3-text/#line-decoration

~fantasai

Received on Monday, 25 January 2010 08:43:21 UTC