Jump to content

Color of link title


mithu_sree

Recommended Posts

How can I change the color and background of the title attribute of the <a> tag and <img> tag?
<a href="somepage.html" title="Go there!!"> click me </a>

__Mithun

not quite shure thats what u meen :) but :
<body bgcolor="666666"><a href="somepage.html" title="Go there!!"><font color="CC0000"> click me </font></a>Something like that..</body>

Link to comment
Share on other sites

No, there is no way to edit the actual display. On dynamic drive they just cover it up, like the context menus they have, they just hide that the right button was clicked and show a div where ever you right clicked. It may just be a hover menu..

Link to comment
Share on other sites

Hi,To change the background color of the link just

<style>a{  text-decoration:none;}a:hover{   background-color: green;}

Link to comment
Share on other sites

He means the tooltip/title attribute, not the link color.I've gotten as far as being able to access the attribute, but not skinning it, just the tag with the attribute.

<html><head><style type='text/css'>*[title]{background-color: 000;}</style></head><body><a href='' title='hello world'>hi</a></body></html>

I'll work on it though.NOTE: NOT SUPPORTED BY IE.

Link to comment
Share on other sites

He means the tooltip/title attribute, not the link color.I've gotten as far as being able to access the attribute, but not skinning it, just the tag with the attribute.
<style type='text/css'>*[title]{background-color: 000;}</style>

Yea,But your code works for the tag with title attribute not for title's background
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...