link destination being formatted as a link

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

link destination being formatted as a link

Post by bonnie »

The text of my link destinations <a name="xxx">xxx</a> is being formatted as a link (blue underlined text), and I can't figure out where to change this.

Could someone please tell me how to turn off this formatting?
Thanks,
Bonnie
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: link destination being formatted as a link

Post by lacastle »

Why wouldn't you want a link to look like a link? :)

Either way, you can change these styles in the stylesheet in the "a" section (and with its pseudo classes).
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: link destination being formatted as a link

Post by doc_guy »

Specifically, if you don't want this to happen in PRINT targets, then make sure you change the settings in the PRINT section of your style sheet.

If you need help with specific settings in your style sheet, let us know.
Paul Pehrson
My Blog

Image
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: link destination being formatted as a link

Post by bonnie »

Why wouldn't you want a link to look like a link? :)
I do want the link to look like a link, but not the link destination (the bookmark where the link lands you on the same page).

For example, I have terms listed at the top of the page that link to the same terms farther down the page where each term is defined. I want the links at the top (<a href="term A">term A</a>) to look like links, but NOT the term target (<a name="term A">term A</a>) that the link lands on.

It doesn't seem like I can distinguish between the two with the <a> pseudo classes.

Bonnie
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: link destination being formatted as a link

Post by doc_guy »

You just place the target anchor element without highlighting anything.

So your code on the target would be:

<a name="term_A" />term A

Does that make sense? Then nothing is formatted as a link because not content is contained in the <a> element.

--

Edited by doc_guy who said: "Removed space and replaced with hyperlink as per Lisa's comment, below"
Paul Pehrson
My Blog

Image
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: link destination being formatted as a link

Post by LTinker68 »

BTW, the bookmark names shouldn't have spaces in them.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: link destination being formatted as a link

Post by bonnie »

You just place the target anchor element without highlighting anything.

So your code on the target would be:

<a name="term_A" />term A
OH, THANKS, Lara and Paul!!
Boy, sometimes my brain just totally shuts down. :oops:

Bonnie
Post Reply