<abbr title="United States of America">USA</abbr>
when you go on USA with your cursor it shows up a text box how we can edit that text box need CSS TAG
<abbr title="United States of America">USA</abbr>
when you go on USA with your cursor it shows up a text box how we can edit that text box need CSS TAG
Want to do it custom ?
CSS3 :
abbr:hover:before {
content: attr(title);
}
Demo : http://jsfiddle.net/NzntY/
or change your attr whatever you want...
<abbr data-yeah="United States of America">USA</abbr>
So
content: attr(data-yeah);
You can use a custom Tooltip if you want to be able to style a text box that appears on hover. See:
See this DEMO, which has the following jQuery to add the tooltip:
$(function () {
$(document).tooltip({
});
});
With these CSS classes:
.ui-tooltip, .arrow:after {
background: black;
border: 2px solid white;
}
.ui-tooltip {
padding: 10px 20px;
color: white;
border-radius: 20px;
font: bold 14px"Helvetica Neue", Sans-Serif;
text-transform: uppercase;
box-shadow: 0 0 7px black;
}
And remember you will need to include a reference the jQuery UI:
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>