Shop OBEX P1 Docs P2 Docs Learn Events
Underlining Links — Parallax Forums

Underlining Links

HumanoidoHumanoido Posts: 5,770
edited 2010-11-24 23:29 in General Discussion
I made a test list, each item with a link.
Some links show up with underlining and some links do not.
Why the inconsistency?
http://forums.parallax.com/showthread.php?t=125723

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-11-19 09:39
    The ones that aren't underlined aren't links (i.e. the ones I've highlighted in red, in the HTML source snippet below):
    </ul><font color="DarkRed"><b><font size="1">Propeller Chip</font></b></font><br />
    <ul><li><font color="Black"><a href="http://forums.parallax.com/showthread.php?p=885971" target="_blank"><font size="1">Prop-a-Lot</font></a></font></li>
    <li><font size="1"><font color="Black"> [color=red]Prop SC Computer[/color]<br />
    </font></font></li>
    <li><font size="1"><font color="Black">[color=red]MLEPS Super Machine[/color]</font></font></li>
    <li><font color="Black"><a href="http://forums.parallax.com/showthread.php?p=921524" target="_blank"><font size="1">UltraSpark 40 Supermicrocontroller</font></a></font></li>
    

    -Phil
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-11-20 14:07
    Phil, those examples you give are not links. I'm talking about the ones that are links but the underlining has disappeared. Apparently it's not consistent. When I reload the page, I get different links with no underlining. Here's an example. These show up with no underlining. But now as pasted here, I see underlining.

    Prop-a-Lot
    Penguin Tech 1 (Pocket Penguin, Tiny Boe, Peizo Tab Hand Finger)
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-11-20 14:17
    I don't see anything that's a link that's not also underlined. What browser do you use? Have you tried looking at those pages with a different one?

    -Phil
  • Ding-BattyDing-Batty Posts: 302
    edited 2010-11-20 22:13
    In looking at the page you identified, Humanoido, I saw that the Penguin link you mentioned was not underlined. But as I remembered a similar problem in the Propeller tool with the Underline character, that was "fixed" by changing the font, I tried changing the font size in Firefox (3.6.12) using the scroll wheel with the Ctrl key held down. That caused the underline to appear. So you might have a rendering issue in your browser.
  • Ding-BattyDing-Batty Posts: 302
    edited 2010-11-20 22:19
    Now I also noticed that the distance of the underline from the baseline of the characters in the line varies -- just look at the item that starts "Penguin Tech 4".

    In the underlying source, there are actually two links in that line -- the first one has "<font size="1">" outside the <a ...>...</a> elements, and the second one has the font size inside the <a ...>...</a> elements.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-11-21 02:52
    Thanks Phil and Ding for the input. It seems to be related to the font. But the problem is strange. I used a screen capture, which when activated, brought back all the underlines, so I could not get a pic of it. I will try another page version in a different font and see what happens. As you mentioned, the font size is also doing something strange. I will try everything in the same font size too. Maybe the page was edited too many times and some other conflicting format crept in as you have noted. Thanks for these observations.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-11-21 09:19
    If the font is small, and if you have font-smoothing (anti-aliasing) turned off, underlines could well disappear from your screen. They may, in fact, disappear and reappear as the window is scrolled or moved up and down. To correct this problem (if it is the problem) be sure that font anti-aliasing is turned on. If you're using Windows, Google ClearType for assistance.

    -Phil
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-11-24 13:46
    The problem was not from anti-aliasing but from a pasted in type font (from composition offline with a word processor) that I found out was not on the list of available fonts. I merely did a select all and changed it to one of the pull down fonts and now it works.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-11-24 23:29
    Thanks for the feedback, Humanoido. That should probably go in a help list somewhere.

    -Phil
Sign In or Register to comment.