942,788 Members | Top Members by Rank

Ad:
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!
Similar Threads
Reputation Points: 11
Solved Threads: 18
Junior Poster
sureronald is offline Offline
139 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: 520
Solved Threads: 268
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
139 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 8:04 am.
Reputation Points: 561
Solved Threads: 364
Posting Maven
almostbob is offline Offline
2,960 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
139 posts
since May 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum 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
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC