Hi,
I wanted to color the 'title' of the image using css.But wasn't successful.
The code:
And html code:Code:<style> body{ title{color:red;background:black} } </style>
I know that DD has got a script for this at:Code:<IMG SRC="xyz.jpg" title="my pic">
http://www.dynamicdrive.com/dynamici...agetooltip.htm
But i would like to do it with the help of css, if it's possible.
Secondly,
If it's not possible, then whether use of '.title' i.e. a class name would do .then the code would go like this:
And html code:Code:<style> body{ .title{color:red;background:black} } </style>
Do also tell me whether i can use two classes or i.d's within one tag.Code:<IMG SRC="xyz.jpg" title="my pic" class="title">
In this case, one class for image and another for title.



Reply With Quote


Bookmarks