Results 1 to 4 of 4

Thread: <a href="..." title="force this not to wrap?"

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Location
    NY
    Posts
    89

    <a href="..." title="force this not to wrap?"

    I am using the title property of the anchor tag to display text when a user hovers their mouse over a link.
    Is there anyway to control this popup using style sheets or some other method?
    Is it possible to force the text not to wrap? Or set the width of this popup?

    VB Code:
    1. <a href="www.google.com/" title="I do not want this text to wrap. I do not want this text to wrap. I do not want this text to wrap. I do not want this text to wrap.
    2. I don't want this text to wrap. I don't want this text to wrap. I don't want this text to wrap. I don't want this text to wrap.
    3. The same goes for this line of text.  The same goes for this line of text.  The same goes for this line of text.  The same goes for this line of text.">link</a>

    If I have a line that contains no spaces this popup does not wrap, but I would like to not have to do this (see below)
    VB Code:
    1. <a href="www.google.com/" title="--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    2. I do not want this text to wrap. I do not want this text to wrap. I do not want this text to wrap. I do not want this text to wrap.
    3. I don't want this text to wrap. I don't want this text to wrap. I don't want this text to wrap. I don't want this text to wrap.
    4. The same goes for this line of text.  The same goes for this line of text.  The same goes for this line of text.  The same goes for this line of text.">link</a>

    Thanks,
    AndyL

  2. #2
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Re: <a href="..." title="force this not to wrap?"


  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: <a href="..." title="force this not to wrap?"

    Why in heaven's name would you want that? Long tooltips are horribly annoying.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Location
    NY
    Posts
    89

    Re: <a href="..." title="force this not to wrap?"

    vbbit, thanks. I have found several custom tooltips, that link does look pretty neat, but I think I am going to end up trimming the text and adding “ … ” at the end of the longer items.

Posting Permissions

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



Click Here to Expand Forum to Full Width