 |
 |
Underlined Links in Safari
|
 |
|
 |
|
Mac Enthusiast
Join Date: Apr 2003
Location: Seattle
Status:
Offline
|
|
Since Safari Enhancer is no longer usable with Safari 1.3 does anyone know a way to Remove Underlined Links? That's all I used SE for anyway.
Thanks in advance,
Doug
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2002
Location: Akiba alleyway
Status:
Offline
|
|
Access the "html4.css" file that defines these settings and change the "underline" text string for active links to "none". That gets rid of those pesky underlines that I too fail to appreciate. While in there, I also add a string "hover" that changes the color of links when I run my cursor over them.
You're looking to change this string:
a:-khtml-any-link { color: -khtml-link; text-decoration: underline }
To this:
a:-khtml-any-link { color: -khtml-link; text-decoration: none }
SInce the "html4.css" file is stashed away in the web frameworks hierachy of folders and doesn't appear in a basic desktop search (using the Find command), I simply boot my trusty 1GHz Titanium PowerBook into system 9, do a search by the file name, make my changes, and, when done, boot back into Panther. It should be easy in OSX using either the command line, or by logging in as root. Somebody else will surely jump in here and tell us both what the most efficient method would be for this within OS X.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: SoCal
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Instead of messing with a system file, can't you just create a pure text file with
a {text-decoration:none;}
save as " mycustom.css" and select in Safari->Preferences->Advanced as custom style sheet?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2002
Location: Akiba alleyway
Status:
Offline
|
|
Thanks, Sage. That oughta get Doug where he wants to be.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2002
Location: Akiba alleyway
Status:
Offline
|
|
Originally Posted by TETENAL
Instead of messing with a system file, can't you just create a pure text file with
a {text-decoration:none;}
save as " mycustom.css" and select in Safari->Preferences->Advanced as custom style sheet?
I've never bothered to try, but that might just work.
Now, to clarify about the "html4.css" file. It's not a system file per se, simply another text (.css) file that acts as the default style sheet for Safari. For my own use, it doesn't seem such a dangerous file to change in minor ways.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2003
Location: SoCal
Status:
Offline
|
|
Originally Posted by TETENAL
Instead of messing with a system file, can't you just create a pure text file with
a {text-decoration:none;}
save as " mycustom.css" and select in Safari->Preferences->Advanced as custom style sheet?
That won't always work – CSS is dependent on location, and any CSS document that's more specific than the simple [FONT=Courier New]a[/FONT] constructor will probably override it… for example,
[FONT=Courier New]body a {}
#my-division a {}
table.underline-links a {}[/FONT]
Your best bet would be to try this:
[FONT=Courier New]body a {text-decoration: none !important;}[/FONT]
…but I have no clue how reliable that would be (it's worth a shot though!  )
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Mar 2004
Location: MacNN database error. Please refresh your browser.
Status:
Offline
|
|
Safari Enhancer is working with Safari 1.3. Have my cache deactivated and my links the way I like 'em.
|

This is a computer-generated message and needs no signature.
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally Posted by issa
I've never bothered to try, but that might just work.
Now, to clarify about the "html4.css" file. It's not a system file per se, simply another text (.css) file that acts as the default style sheet for Safari. For my own use, it doesn't seem such a dangerous file to change in minor ways.
But why would you want to change it? That's what a user stylesheet is for.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Apr 2003
Location: Seattle
Status:
Offline
|
|
That's what I did, I created my own style sheet. Works fine.
I did find the html4.css file, there are actually 2 of them that I found, one with the file shown in the post above and one without. I was able to navigate to it but I was afraid to change it since it would not duplicate or copy and didn't want to screw things up now that everything is back to normal.
Thanks to all,
Doug
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2002
Location: Akiba alleyway
Status:
Offline
|
|
Originally Posted by CharlesS
But why would you want to change it? That's what a user stylesheet is for.
Because it's there?
Because it's a quick 'n easy way to tweak the single file to behave the way one wants?
Because, in the minds of some mentally challenged miscreants, (at least one?), it's cleaner and quicker than creating a separate user style sheet?
Charles, I fully appreciate what you are expressing. Makes total sense.
Still, who said one's approach to something had to be the only way, the best way; or, heavens forbid, follow any prevailing rules of logic or order? I shared what I do on my computer. Certainly wouldn't be so pretentious as to suggest to others that it is an inherently great or better way. Yet, I do it, anyway. Forgive me.
Glad to see that Doug beat the underlines following your suggested method. Case solved. 
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Apr 2003
Location: Detroit, MI
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally Posted by issa
Because it's a quick 'n easy way to tweak the single file to behave the way one wants?
Because, in the minds of some mentally challenged miscreants, (at least one?), it's cleaner and quicker than creating a separate user style sheet?
Well, for one thing, if you use a user stylesheet your changes won't get erased by the next software update that updates that .css file.
And I would say that modifying a file inside /System is in no way cleaner than just selecting a file in your user folder. It's not quicker, either, since you have to get around the file permissions to change a file in /System, which will add a few extra steps. So, in summary, if you want to set up your CSS stylesheet to make things behave a certain way, just use a user stylesheet.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Feb 2004
Location: Earth
Status:
Offline
|
|
Originally Posted by Randman
Safari Enhancer is working with Safari 1.3. Have my cache deactivated and my links the way I like 'em.
Really? Here's what the devoloper has to say on the matter:
Safari Enhancer is not compatible with Safari 1.3, and will do nasty things to your copy of Safari if you attempt to use it with this version (the application will warn you of this much before you can run it though).
Unfortunately, Safari 1.3 has a number of underlying changes made to it that make restoring full Enhancer functionality a bit of a task. I cannot give any sort of ETA on an update at this time.
|
|
What exactly is rotten in Denmark?
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Mar 2004
Location: MacNN database error. Please refresh your browser.
Status:
Offline
|
|
Really? I didn't get any prompts with it and it deactivated my cache and the underlines just fine.
I have the bookmark folder bug and Safari was crashing a first. I disabled SE and pithhlemet, redid the combo update and repaired permissions. Not a crash since, even after reinstalling pithhelmet and Safari Enhancer.
|

This is a computer-generated message and needs no signature.
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Feb 2004
Location: Earth
Status:
Offline
|
|
Hmm, interesting. I received the prompt in question and wasn't able to apply Safari Enhancer.
|
|
What exactly is rotten in Denmark?
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally Posted by issa
Now, to clarify about the "html4.css" file. It's not a system file per se, simply another text (.css) file that acts as the default style sheet for Safari.
It is a system file. That's why it's in /System.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2001
Location: Dark Side of the Moon
Status:
Offline
|
|
Would it be possible for some kindly fella to provide a CSS file to get rid of the links and provide a hover? One that should work in most cases I mean.
Cheers
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Originally Posted by monkeybrain
Would it be possible for some kindly fella to provide a CSS file to get rid of the links and provide a hover? One that should work in most cases I mean.
a {text-decoration:none !important;}
a:hover {color:white !important; background-color:blue !important; text-decoration:none !important;}
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Well, Tetenal is a bit faster than I am.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2005
Status:
Offline
|
|
I had tried the custom stylesheet solution as described here (and in other fora on the 'net) and it worked only partially. Some sites (e.g. bloglines.com) seem to structure their HTML in such a way that changing the style for the "a" tag didn't remove the underline.
Eventually, I found a page about user stylesheets ( http://dbaron.org/css/user/) which overrode ":link" -- not just "a:link". My custom stylesheet now looks like this:
[FONT=Courier New]<style type="text/css">
<!--
a:link { text-decoration: none }
a:hover { text-decoration: underline }
:link { text-decoration: none }
:hover { text-decoration: underline }
-->
</style>
[/FONT]
(a different) Doug
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Mar 2004
Location: MacNN database error. Please refresh your browser.
Status:
Offline
|
|
Safari Enhancer works again with Safari 2.0, so it should work with 1.3.
|

This is a computer-generated message and needs no signature.
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|