Solved

<a href....> text

Posted on 2013-12-23
2
225 Views
Last Modified: 2013-12-23
I'm sure this is an easy one.

How do I display text without having the underline in the code.

$odd..."[TENANT] has the tenant name.  I want the font color to be black and I don't want it to be underlined.

echo '<a href="Space_Display.php?id=NY10300006851100">';
                                    echo $odd_bldg[$count]['TENANT'];
                                    echo "</a>";
0
Comment
Question by:breeze351
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 35

Expert Comment

by:Dan Craciun
ID: 39736850
Make a style.

Place this in your <head> section:

<style type="text/css">
   a:link {text-decoration: none; color: black;}
   a:visited {text-decoration: none; color: black;}
   a:active {text-decoration: none; color: black;}
   a:hover {text-decoration: underline; color: red;}
</style>

HTH,
Dan

LE: formatting
0
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39736866
Or, use inline CSS:
echo '<a href="Space_Display.php?id=NY10300006851100" style="text-decoration: none">';
                                    echo $odd_bldg[$count]['TENANT'];
                                    echo "</a>";
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help with this homework problem. 5 77
html form layout 4 52
Making Table Thru ASP Response.write 5 36
Save data in two Database, Asp 2 68
This article discusses how to create an extensible mechanism for linked drop downs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question