Ratee Posted April 29, 2012 Share Posted April 29, 2012 Okay so i want to align my arrows like the image below... this is my html &' css... HTML <div style="width:800px;text-align:right; overflow:hidden;"> <form method=post> <button type='submit' value='Search' id='post_comment' name='search' style="border: 0px; background: transparent"> <div class="images"><img src="/arrows/arrowleftup.gif" alt="submit"/> <img src="/arrows/arrowup.gif" alt="submit" /> <img src="/arrows/arrowrightup.gif" alt="submit" /> <img src="/arrows/arrowright.gif" alt="submit" /> </button> </form> </div> </div> CSS .images { overflow: hidden; } .images img { float: left; margin: 0px; } please help me i have no idea how to do this.. Thank you for your time. Quote Link to comment https://forums.phpfreaks.com/topic/261802-css-arrow-help/ Share on other sites More sharing options...
Jessica Posted April 30, 2012 Share Posted April 30, 2012 It would be a lot easier to have 1 image and do an image map. Quote Link to comment https://forums.phpfreaks.com/topic/261802-css-arrow-help/#findComment-1341680 Share on other sites More sharing options...
Ratee Posted April 30, 2012 Author Share Posted April 30, 2012 i dont understand what you mean... please explain more.. Quote Link to comment https://forums.phpfreaks.com/topic/261802-css-arrow-help/#findComment-1341778 Share on other sites More sharing options...
Jessica Posted April 30, 2012 Share Posted April 30, 2012 Instead of having 8 images, combine them into one image just like the image you posted. Then if you need each arrow clickable, which why wouldn't you, put an image map on it. Quote Link to comment https://forums.phpfreaks.com/topic/261802-css-arrow-help/#findComment-1341781 Share on other sites More sharing options...
Ratee Posted April 30, 2012 Author Share Posted April 30, 2012 i understand now thankyou for your time:) Quote Link to comment https://forums.phpfreaks.com/topic/261802-css-arrow-help/#findComment-1341783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.