Guest sovietbot Posted December 13, 2005 Share Posted December 13, 2005 i'm using a dotted border instead of an underline for my links' hover state. this works fine except where i've got links with additional letterspacing. the border extends beyond the word to the edge of the space, which looks rather ugly...examplethe CSSso my question: is there an efficient way of clipping the right edge of that border? Link to comment Share on other sites More sharing options...
S@m Posted December 13, 2005 Share Posted December 13, 2005 You might be able to have more control over it by using lists to do the nav like that.http://css.maxdesign.com.au/listutorial/ho...ntroduction.htmCheck that out and see if it helps. Link to comment Share on other sites More sharing options...
Skemcin Posted December 13, 2005 Share Posted December 13, 2005 i'm using a dotted border instead of an underline for my links' hover state. this works fine except where i've got links with additional letterspacing. the border extends beyond the word to the edge of the space, which looks rather ugly...examplethe CSSso my question: is there an efficient way of clipping the right edge of that border? the letter-spacing you have defined will apply to every letter - so the extra space is from .5 space being added to the area it takes up.The only way around that would be to class the last letter of each link to not have the letter-spaceing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now