Results 1 to 8 of 8

Thread: Different font color for 1 specific word!

  1. #1
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Different font color for 1 specific word!

    Hello,

    I need help with the following, Please see this script first:

    <a href="here.html" title="www.hereiam.com"></a>

    Now my question is, how do i change the color of the "hereiam" into RED in the tittle?

    Hope someown understand and can help me!

    Thanks!
    Last edited by yagga; 06-10-2010 at 12:41 PM.

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Maybe you need something like this
    <a href="http://www.hereiam.com/here.html" title="www.hereiam.com">www.<span style="color:#F00">hereiam</span>.com</a>

  3. #3
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi thanks for your reply!

    but that was not exactly what i needed.

    with my code there will be a popup. and on the tittle of that popup i need the color change of that word!

  4. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    I f you post the entire code or a link to the page it may be possible to help !

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    You can't change the title color that's a browser setting (as far as I know). Have you seen it done somewhere? There might be a work around to make it appear like it is a title.
    Corrections to my coding/thoughts welcome.

  6. #6
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    I'm still a little unclear as to what it is he is asking for.
    To choose the lesser of two evils is still to choose evil. My personal site

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    For this sort of question, either explain a lot more clearly or post an image of what you'd like.

    Also, link to your page so we can help you figure it out. Without that, it's all just guessing.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    I think the OP is talking about the yellow box with black text that comes from the browser when you mouse over a link or image with a title attribute.
    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

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