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!

Recommended Answers

All 4 Replies

<a href="blah" title="This is your title">some link</a>

You answered your own question

Thanks ShawnCplus for your reply but this code

<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

css

// for a element titles
a[title] { font:bla; background:(url to image with round corners); color:bla;  padding: enough to bring the background out; }
// for all element titles
*[title] { font:bla; background:(url to image with round corners); color:bla; padding: enough to bring the background out; }

Thanks for this Almostbob

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.