No underline of hyperlinks

G

Guest

Hi all.
I'm sure this is an easy one, I just haven't figured it out. I Have FP2003.

I've got a table that I'm using as a navigation menu and it is on an
"include" page.
Inside each cell is a text hyperlink and on the include page I've defined
page styles of:
a:link {text-decoration: none; color: #000000;}
a:visited {text-decoration: none; color: #000000;}
a:active {text-decoration: none; color: #000000;}

I perfer not to have the links underlined. This works fine when I preview
the include page by itself. When I insert the page content into another page
as a web component, the text links show up with underlines.

How do I remove the underlines from the text?
Thanks.
 
S

Steve Easton

Includes only "include" content between the <body></body> tags
So, the style doesn't get included.

Either add the style to the head section of the pages, or put it in an
external style sheet and apply the style sheet "across the web."

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
G

Guest

Thanks Steve.
Is there a way to specify no underline for the menu text, still using it as
an include page, but allow other links on other pages to be underlined?

Maybe by defining a no underline text style in the CSS and applying it to
the text in the table, would that work?
--
Don
*********


Steve Easton said:
Includes only "include" content between the <body></body> tags
So, the style doesn't get included.

Either add the style to the head section of the pages, or put it in an
external style sheet and apply the style sheet "across the web."

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
M

Murray

<div id="menu">all your menu links here</div>

with this CSS -

#menu a { text-decoration:none; }

will work nicely.

--
Murray
--------------
MVP FrontPage


Don Dean said:
Thanks Steve.
Is there a way to specify no underline for the menu text, still using it
as
an include page, but allow other links on other pages to be underlined?

Maybe by defining a no underline text style in the CSS and applying it to
the text in the table, would that work?
 
S

Steve Easton

Create a class and then apply the class to the container that holds the
links.

Example:

..myclass a:link {
text-decoration: none; color: #000000;
}
..myclass a:visited {
text-decoration: none; color: #000000;
}
..myclass a:active {
text-decoration: none; color: #000000;
}

Then apply the class.
if in a table it would be <table class="myclass" >

a div would be <div class="myclass" >

Note that in the css the class starts with a .
but when applied to the container the . is not used


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer





Don Dean said:
Thanks Steve.
Is there a way to specify no underline for the menu text, still using it
as
an include page, but allow other links on other pages to be underlined?

Maybe by defining a no underline text style in the CSS and applying it to
the text in the table, would that work?
 
S

Steve Easton

You're welcome.
Murray's version is better, providing you don't want to change colors etc,
during the mouse events.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top