Removed underlined links in Safari

Jan 10, '03 09:43:12AM

Contributed by: mediaman

I wanted to remove the underlined links from Safari and found that if you go to /Applications -> Safari.app -> Contents -> Frameworks -> WebCore.framework -> Versions -> A -> Resources -> html4.css, then you can edit the stylesheet near the bottom where the CSS Selectors are located. For instance, here's what mine looks like:

 <--
a:link { color: blue; text-decoration: none; }
a:link:active { color: black; outline: gray 1px dotted; }
a:visited { color: navy; text-decoration: none; }
a:visited:active { color: black; outline: gray 1px dotted; }
a:hover { color: red; text-decoration: underline; }
-->
Of course, you can edit it how you want to, or use your own.

[Editor's note: I haven't tested this myself, but it seems like it might be easier and/or safer to just create your own style sheet, and then set that as the default using the Appearance section of Safari's preferences. This way, you won't be changing something that's likely to get overwritten when Safari is upgraded ... after I catch up a bit this weekend, I'll try to test this theory!]

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030110064312507