We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

HTML Help - Tooltips

Options
seedyh
seedyh Posts: 105 Forumite
Afternoon all.

Trying to resolve an issue here and not having much luck.

I have a web page here that when you hover over certain parts it pops up a tooltip giving further information. On IE (6, 7 & 8) the tooltip gets cut off after a certain number of characters. Works fine in Chrome & Firefox though, so I guess IE deals with the code differently.. but no idea how or why.

They are using the 'title' attribute (not alt) which is the right way to do this according to what I've read.

If there anything I need to look out for do you know?

Cheers

Comments

  • swvillafan
    swvillafan Posts: 436 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    How many characters are you using for your tooltips? I believe <title> tags can be useful for search engine optimisation. <alt> tags are used more for images to show alternative text when the cannot be displayed.
    Useful is beautiful
  • seedyh
    seedyh Posts: 105 Forumite
    It varies, some are only a few characters in length and others are several lines - the longest on this page is 2300 (which again, is fine in Chrome/FF), they seem to cut off randomly between 400 & 500 characters though.
  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    seedyh wrote: »
    Afternoon all.

    Trying to resolve an issue here and not having much luck.

    I have a web page here that when you hover over certain parts it pops up a tooltip giving further information. On IE (6, 7 & 8) the tooltip gets cut off after a certain number of characters. Works fine in Chrome & Firefox though, so I guess IE deals with the code differently.. but no idea how or why.

    I know why. It's Microsoft who are known for not obeying standards and trying to push their "standards" instead. :(
    seedyh wrote: »
    They are using the 'title' attribute (not alt) which is the right way to do this according to what I've read.

    If there anything I need to look out for do you know?

    Cheers

    I don't really understand your question. Is this your website and do you want to fix the HTML code? Or are you just visiting this website and want to fix IE's behaviour?

    If it's the first, do you have a link to the website? If it's the second, then you already gave the answer, use another browser.
  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    swvillafan wrote: »
    How many characters are you using for your tooltips? I believe <title> tags can be useful for search engine optimisation. <alt> tags are used more for images to show alternative text when the cannot be displayed.

    tags != attributes

    He's talking about the title attribute.
  • seedyh
    seedyh Posts: 105 Forumite
    It's a work thing ;)

    Intranet web page and can't post the source. A team here has coded it and somehow it's now with me to investigate it, brilliant.

    Our users are unfortunately stuck on IE6 but I've been testing the page on several browsers, not an option for them though.
  • swvillafan
    swvillafan Posts: 436 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    tronator wrote: »
    tags != attributes

    He's talking about the title attribute.

    Many apologies Tronator, a mere slip of the fingers on my keyboard!
    Useful is beautiful
  • greenellie
    greenellie Posts: 13 Forumite
    have you tried using the text wrap attribute?
  • seedyh
    seedyh Posts: 105 Forumite
    I've not.. I'll investigate.

    Just noticed this site does it too on IE.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.