Ad:
 
Similar Threads
Jun 22nd, 2009
0

Customised title attribute

Expand Post »
Hi Everyone.
My question is how do you customise the title attribute commonly used in HTML tags just like here at Daniweb when you hover your mouse over a thread topic.
Any help will be highly appreciated

sureronald!
Reputation Points: 11
Solved Threads: 18
Junior Poster
sureronald is offline Offline
117 posts
since May 2008
Jun 22nd, 2009
0

Re: Customised title attribute

html Syntax (Toggle Plain Text)
  1. <a href="blah" title="This is your title">some link</a>
You answered your own question
Sponsor
Reputation Points: 528
Solved Threads: 263
Code Monkey
ShawnCplus is offline Offline
1,564 posts
since Apr 2005
Jun 23rd, 2009
0

Re: Customised title attribute

Thanks ShawnCplus for your reply but this code
Quote ...
<a href="blah" title="This is your title">some link</a>
will just give you the default sharp cornered box containing the text in the title attribute when you point this link. How do you change the appearance of this box like I see here at Daniweb and in the joomla administration?
Thanks
Reputation Points: 11
Solved Threads: 18
Junior Poster
sureronald is offline Offline
117 posts
since May 2008
Jun 23rd, 2009
0

Re: Customised title attribute

css
css Syntax (Toggle Plain Text)
  1. // for a element titles
  2. a[title] { font:bla; background:(url to image with round corners); color:bla; padding: enough to bring the background out; }
  3. // for all element titles
  4. *[title] { font:bla; background:(url to image with round corners); color:bla; padding: enough to bring the background out; }
Last edited by almostbob; Jun 23rd, 2009 at 7:04 am.
Reputation Points: 394
Solved Threads: 279
Nearly a Posting Maven
almostbob is offline Offline
2,248 posts
since Jan 2009
Jun 23rd, 2009
0

Re: Customised title attribute

Thanks for this Almostbob
Reputation Points: 11
Solved Threads: 18
Junior Poster
sureronald is offline Offline
117 posts
since May 2008
This thread is solved. Perhaps start a new thread instead?
This thread is more than three months old. Perhaps start a new thread instead?
Message:
Previous Thread in HTML and CSS Forum Timeline: CSS
Next Thread in HTML and CSS Forum Timeline: CSS & Browser Problem.





About Us | Contact Us | Advertise | Acceptable Use Policy
Build Custom RSS Feed


Follow us on Twitter


© 2010 DaniWeb® LLC