CSS: How to move hint box (a:hover) to the left? -


i have hints in boxes, wich made this:

css code:

a span {   display:none; } a:hover span {   position:fixed;   display:inline;   border: 1px solid #0000ff;   margin: 0px 0px 0px 10px;   padding: 5px;   color: #000000;   background: #faffc3;   opacity:.90; } 

html code, hint between span tags, , inside a element:

<div>   text,    <a href="#">link<span>hint.<br>second line of hint.</span></a>   , text, ,   <a href="#">link<span>hint</span></a>. </div> 

is possible move hint's box right side of link (default position), left side using css properties?

ps. sorry english.

a {     position:relative; }  span {   display:none; } a:hover span {   position:absolute;   display:inline;   border: 1px solid #0000ff;   margin: 0px 0px 0px 10px;   padding: 5px;   color: #000000;   background: #faffc3;   opacity:.90;   right:0;   margin-right: 105%; } 

demo


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -