Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help Icon position for a heading

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #202322
    nav_neo
    Participant

    I have a requirement where we need to show a help icon always next to the last word of a heading.
    Now the problem is the heading will change as per locale. So the width of the text changes and sometimes the help icon goes down in next line and heading remains in first line.

    Just wanted to know if anybody has faced similar issue or any solution for this. I have tried with the given solution but the it fails on Mozilla. I found few links on internet where behaviour of multi-line span appears to be different on mozilla.

    http://codepen.io/anon/pen/ZGWPaZ

    #202330
    Paulie_D
    Member

    Allow me first to say that Links are not buttons and if you are using a link that does not link to another location (i.e. no href, you are misusing a link.)

    I think you are after something like this.

    http://codepen.io/Paulie-D/pen/doMLWJ

    #203991
    nav_neo
    Participant

    Thanks Paulie, Its my mistake, its not a tag it is a span in actual code. Good think is i got to know about a good article.

    Yes i am looking for something like this only I will use this code and let you know. I have tried something similar but that did not worked for me. I will give it a try.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.