Author Topic: Can Links be Underlined Globally?  (Read 4545 times)

0 Members and 1 Guest are viewing this topic.

mauserme

  • Guest
Can Links be Underlined Globally?
« on: November 04, 2006, 07:54:42 PM »
In another thread 1st_Moon posted a very common sense suggestion that links embedded within a post be automatically underlined.  This was in response to my difficulty seeing that a link was actually posted.

Is it possible?
« Last Edit: November 05, 2006, 01:17:18 AM by mauserme »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Can Links be Underlined?
« Reply #1 on: November 04, 2006, 08:10:38 PM »
Whilst you can set it up in IE Tools, Internet Options, Advanced, Underline Links (always, hover, never), however,sites can override that option and obviously that doesn't work in other browsers.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48569
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: Can Links be Underlined?
« Reply #2 on: November 04, 2006, 08:37:24 PM »
I believe you might be referring to an embedded link something like the following example:
How to post a link (URL)

The person posting the link can manually select the underline formatting option when the embedded link is constructed.
Some of us do that  :) and some do not.  ;D
I don't know if that is something that can be set board wide.
Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

mauserme

  • Guest
Re: Can Links be Underlined?
« Reply #3 on: November 04, 2006, 10:04:44 PM »
... sites can override that option and obviously that doesn't work in other browsers.
Apparently the avast! forum does override this setting - links are not underlined here even in Internet Explorer 6 with settings as you suggest (no I didn't update to IE 7 yet).

I don't know if that is something that can be set board wide.
That's what I'm hoping for, even if its just something I could set in my own profile so other users don't have to see links this way if they don't want to.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Can Links be Underlined?
« Reply #4 on: November 04, 2006, 11:29:51 PM »
I believe you might be referring to an embedded link something like the following example:
How to post a link (URL)

No that is just a forum setting.

The one in the Internet Options is an Internet wide option if you create a link in a web page, you don't put any underline in the link but IE would underline it depending on the option.

However that can be overridden by the web page or site using either a css (Cascading Style Sheet) script or hard coded in a page that effects each page or the whole site depending how it is implemented and the Theme probably has an associated style sheet for the layout an effects, etc. and this is possibly where the link effect is set.

Here are just a couple of effects you can apply to a link, the text decoration, relates to the underline, so none disables that. The a:visited is the colour you want applied after you have visited that link. The a:hover changes the text colour, size and background colour of the link text when you hover over it, there is no way you would miss that.

Code: [Select]
<style type="text/css">
<!--
A { text-decoration:none }
a:visited { color: blue }
a:hover { color: yellow;
          font-size: 12pt;
          font-weight: bold;
    text-decoration: bold;
    background-color: black;
  }
-->
</style>

This is the call for a style sheet in the forum home page (and an extract of the css code) so whatever is in that determines what happens, here is where it gets weird, it should underline links:
Code: [Select]
<link rel="stylesheet" type="text/css" href="http://forum.avast.com/Themes/ALWIL_default/style.css?rc2" />

[quote]
/*
a:link
{
color: #000000;
text-decoration: underline;
}
a:visited, a:hover
{
color: #323232;
text-decoration: underline;
}
*/[/quote]

Unfortunately it looks like because of the way the forum works, so users don't have to know html to construct a page, different rules are applied to make it easy to post. That would make it necessary to add the underline to the link in order for it to show.
« Last Edit: November 04, 2006, 11:33:34 PM by DavidR »
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

mauserme

  • Guest
Re: Can Links be Underlined?
« Reply #5 on: November 04, 2006, 11:46:45 PM »
So is it not possible at all, or only possible if someone from alwil would add the code that you so kindly provided?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: Can Links be Underlined?
« Reply #6 on: November 05, 2006, 12:04:38 AM »
Well at first glance that code is already added, but it clearly isn't working, that's why I said here is where it gets weird, it may simply be because the links on the forums aren't using standard html notation.

A link (with a name) in a regular web page link looks like this:
Code: [Select]
<a href="http://www.microsoft.com/windows/windowsmedia/players.asp">Microsoft
Windows Media Player</a>

This part, <a href=", in a forum link, would be [url="

So in the forum the link code doesn't begin with the <a> tag,  but either no tag, or the [url] forum attribute which isn't an html tag, so the style isn't applied.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

mauserme

  • Guest
Re: Can Links be Underlined Globally?
« Reply #7 on: November 05, 2006, 01:04:21 AM »
Maybe Igor or someone with the time and ability to make some changes will wander through.
« Last Edit: November 05, 2006, 01:05:58 AM by mauserme »

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11851
    • AVAST Software
Re: Can Links be Underlined Globally?
« Reply #8 on: November 06, 2006, 11:12:39 AM »
I believe the hyperlink styles are part of the forum layout style (the particular layout you are using)... but that's about all I can say. I can't modify any forum properties... and I also don't know anything about its internals, so I don't really want to do that either.

mauserme

  • Guest
Re: Can Links be Underlined Globally?
« Reply #9 on: November 06, 2006, 04:43:32 PM »
OK.

Thanks for the response.