Note that there are some explanatory texts on larger screens.

plurals
  1. POZ Index wont apply, position is already relative/absolute
    primarykey
    data
    text
    <p>I have a tool tip, and its basically not working. I did some searching, and the usual response is that you haven't added your position's, however I have those and im truly stumped.</p> <p>The problem is that in the live demo below, the tool tip from the icons on the left, wont go on top of the content to the right, so I cant see it.</p> <p>The code mainly lies here;</p> <pre><code>a.icon { position: relative; text-decoration: none; } a.icon .tooltip { -webkit-transition: opacity 0.5s ease 0.2s, left 0.5s ease 0.2s; -moz-transition: opacity 0.5 ease 0.2s, left 0.5s ease 0.2s; -o-transition: opacity 0.5 ease 0.2s, left 0.5s ease 0.2s; transition: opacity 0.5 ease 0.2s, left 0.5s ease 0.2s; opacity: 0; font-size: 11px; color: #FFFFFF; background:url('../images/tooltip.png') no-repeat bottom center; position:absolute; height: 40px; line-height: 50px; left: 100px; text-align:center; padding-left:10px; width: 110px; display: block; top: 24px; z-index: 1000; } a.icon:hover .tooltip { opacity: 1.0; top:24px; } </code></pre> <p>And here is the HTML, with lorem removed;</p> <pre><code>&lt;div id="icons"&gt; &lt;a href="info page" class="icon" id="info"&gt;&lt;span class="tooltip"&gt;About Me&lt;/span&gt; &lt;a href="portfolio page" class="icon" id="portfolio"&gt;&lt;span class="tooltip"&gt;Portfolio&lt;/span&gt;&lt;/a&gt; &lt;a href="mailto:kieronboz@gmail.com" class="icon" id="email"&gt;&lt;span class="tooltip"&gt;Mail&lt;/span&gt;&lt;/a&gt; &lt;a href="skype:kieronboz?userinfo" class="icon" id="skype"&gt;&lt;span class="tooltip"&gt;Skype&lt;/span&gt; &lt;/a&gt; &lt;a href="http://www.twitter.com/kieronboz" class="icon" id="twitter"&gt;&lt;span class="tooltip"&gt;Twitter&lt;/span&gt;&lt;/a&gt;&lt;!-- Holds the icons for the site --&gt; &lt;/div&gt; &lt;div id="content"&gt; raesent at quam velit, &lt;/div&gt; </code></pre> <p>There are span classes referring to tooltip, but this text box wont let me add them as code.</p> <p>And in short, it doesn't work. I do have the example live here: www.kieron.jamiecassidy.co.uk</p> <p>Sorry if its a pain to look through the code, im new to this, just starting my first portfolio, and I haven't organized or commented much yet.</p> <p>Thanks very much.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload