Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
text from title tag disappearing behind css bg
27th January, 14:57
Post: #1
text from title tag disappearing behind css bg
The text from my title tag shows up for 1 sec and the moves behind the backgorund i have made with css. When i remove my bg image, the text is there...

my code is like this
JS Code
<a href="#" title="Lorem ipsum dolor sit amet"><img src="../images/question.png" /></a>
<script type="text/javascript">
// Create the tooltips only on document load
$(document).ready(function() 
{
 $('.header_left a[href][title]').qtip({
  content: { text: false },
  position: { corner: { target: 'topRight' } },
  style: { color: '#333333', width: 185, background: '#FFFFFF', border: { width: 0} },
 });
});
</script>


and here is my css:
JS Code
.qtip {
	font-size:10px;
	font-family: Arial, Helvetica, sans-serif;
	background-image:url(../images/tooltip-bottom.png);
	height:75px;
	width:185px;
	padding-left:25px;
	padding-right:15px;
	padding-top:20px;
	padding-bottom:25px;
}


What am i doing wrong? it works fine as a standalone html, but at the site it disapears..
Find all posts by this user
Quote this message in a reply
27th January, 15:03
Post: #2
RE: text from title tag disappearing behind css bg
Are you using qTip 1.0 or qTip2? You're in the qTip2 forum that's all Wink Odd that it's hiding the text... is it the same colour? Tongue

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
28th January, 07:24 (This post was last modified: 28th January 07:34 by whiteaway.)
Post: #3
RE: text from title tag disappearing behind css bg
i'm using the latest q-tip from the download page...
up sorry... i'm using qtip 1...
Find all posts by this user
Quote this message in a reply
28th January, 11:44
Post: #4
RE: text from title tag disappearing behind css bg
No problem, moved it to the qTip1 forum for you Smile Regarding the background... it seems odd that the text should disappear. Are you sure this isn't a padding issue or similar?

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Recover title attribute content on hide baps 2 19 Yesterday 23:38
Last Post: baps
  [Solved] Hover text and AJAX content gottihh 2 96 10th May 07:24
Last Post: gottihh
  [Solved] Multiple qtips on one page, content disappearing russau 3 124 3rd May 16:38
Last Post: Craig
  [Solved] qTip Ajax data for text in a div akhil_csit 1 316 14th March 19:27
Last Post: Craig
  [Solved] Tipp with title & content in title fspade 2 363 21st February 06:42
Last Post: fspade
  [Solved] Changing ToolTip Text DaveRich 3 396 13th February 17:02
Last Post: Craig
  [Solved] qTip Script help - need to remove text MConley 3 688 14th November 20:57
Last Post: Craig
  Create tooltip for selected text claudia.guerrero 2 529 10th November 03:55
Last Post: rolina
  CSS layout breaks when qTip activated mattdj 1 731 24th August 19:03
Last Post: Craig
  [Solved] Pass title AND content in attr:title with separator johndubya 2 1,058 20th July 22:27
Last Post: johndubya



User(s) browsing this thread: 1 Guest(s)