There has been much discussion recently on the best way to remove the active/focus dotted borders when using the Phark Image Replacement technique. The problem arises in Firefox, which insists on making the border stretch around the 'off-screen' text. If you are using Firefox, click the first image and you will see what I mean.
The border shoots off the screen to the left causing an unsightly line of dots.
The current methods get rid of the border altogether in Firefox but leave it in place in Internet Explorer. Not really a cross browser answer with one method even failing css validation.
Click on the second image and see that the dotted border is gone and replaced by a border color change from black to red. This, of course, can be styled as you wish to fit in with the look of your site.
This technique does require an extra element around the text but I don't think this is too much for a validating css answer.
The embeded css shows how this is achieved and uses the nicholls DOTTED LINE REPLACEMENT technique which reduces the actual link to zero size and styles the inner element instead. The CSS is commented where necessary to explain the styling requirements.
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.