Hello,
How to change this line:
I want text to appear on a single line.
HTML Code:
<style>
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
background: #195fa4 url(http://farm7.static.flickr.com/6025/5994117249_a9782abeb5_t.jpg) repeat-x;
color: #fff;
text-align: center;
border-radius: 7px;
padding: 5px 5px;
position: absolute;
z-index: 1;
bottom: 150%;
left: 50%;
margin-left: -60px;
width: 100px;
text-shadow: 1px 1px #333;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #195fa4 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
</style>
<br><br><br><br>
<br><br><br><br>
<br><br><br><br>
Примерен текст <div class="tooltip">Hover over me
<span class="tooltiptext">Text text text text text text</span>
</div>
Thanks!
Bookmarks