How to align arrows using CSS or jQuery or JavaScript -


i'm trying create looks this:

four arrows placed opposite each other; arrow @ top, left @ left, right @ right, , down @ bottom. space in middle empty.

however, can this:

four arrows in row: left, up, down, right.

this code i'm using.

<div style="position:fixed;z-index:1;">    <a class="left" href="javascript:{}"><img src="images/leftarrow.png"/></a>     <a class="top" href="javascript:{}"><img src="images/uparrow.png"/></a>    <a class="bottom" href="javascript:{}"><img src="images/downarrow.png"/></a>    <a class="right" href="javascript:{}"><img src="images/rightarrow.png"/></a> </div> 

how can make want to?

not sure how suit req uses more of positioning. please check.

http://jsfiddle.net/rfhrp/

 a.left {     top: 20px;     left: 15px; } a.right {     top: 20px;     left: 55px; } a.top {     top: 0px;     left: 35px; } a.bottom {     top: 45px;     left: 35px; } .left, .right, .top, .bottom {     position: absolute;     margin-left: 50%;     cursor: pointer; } 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -