PDA

View Full Version : link underline prob


indianleo
06-17-2009, 09:30 AM
Hello Friends I have text link as Sign in but when I apply text-decoration:underline the 'g' in Sign in get cuts till underline

d a v e
06-17-2009, 12:48 PM
post a url

DWcourse
06-17-2009, 02:15 PM
By default, the link underline goes through the descenders on letters that have them. That's just the way it is.

d a v e
06-17-2009, 07:35 PM
you could remove the underline and place a bottom border via css and add some padding to move it away from the descenders a little

DWcourse
06-17-2009, 08:45 PM
dave's suggestion would work but may also affect your line spacing.

d a v e
06-18-2009, 03:25 AM
dave's suggestion would work but may also affect your line spacing.
you can't have everything :)