Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    remove that blue underline

    hello friends.. whatever i do i can't remove blue underline above the text "The text is in a paragraph tag" please, do help. here is the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <html xmlns:fb="http://ogp.me/ns/fb#">
    <head>
    <title>TEST</title>

    <style>
    .imgl {
    float: left;
    position: relative;
    }
    .imgl p {
    text-decoration: none;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #FFF;
    margin-right: 12px;
    margin-bottom: 12px;
    text-shadow: 1px 0px 0px #000;
    }
    </style>
    </head>
    <body>
    <div id="sirina">
    <div id="sirinafull600">
    <div id="sirinafull600_ispod"></div>

    <span class="imgl"><a id="example8" href="<Field: CustomField_thumb3>" title="<Field: CustomField_komentarslike> / <Field: CustomField_slika>"><img src="http://www.index.hr/images2/ces_prosvjedbuxelles_afp.jpg" alt="Alte" border="0" title="<Field: CustomField_komentarslike> <Field: CustomField_slika>"><p>The text is in a paragraph tag</p></a>
    <div id="imgbox"><div class="imgtekst"><Field: CustomField_komentarslike> <Field: CustomField_slika></div></div></span>

    </div>
    </div>
    <div id="sirina"></div>

    </body>
    </html>

  • #2
    Regular Coder Lerura's Avatar
    Join Date
    Aug 2005
    Location
    Denmark
    Posts
    945
    Thanks
    0
    Thanked 129 Times in 128 Posts
    The reason for the text, is theat it is inside a link.

    Per default linktext is underlined so viewers can se that it is a link and not just ordinary text.

    It is easy to remove though

    Code:
    #example8 { text-decoration : none; }

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by lerura View Post
    The reason for the text, is theat it is inside a link.

    Per default linktext is underlined so viewers can se that it is a link and not just ordinary text.

    It is easy to remove though

    Code:
    #example8 { text-decoration : none; }
    thank you!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •