codingmasterRS Posted March 12, 2011 Share Posted March 12, 2011 Hi guys, I have a bunch of LI (in a UL) which I need to automatically space out over 900px, the li's are currently set to display:inline. If anyone can help me do this auto spacing etc it would be much appreciated, Default fixed widths wont work because then the last li will be left aligned and not right, so it needs to be pushed far right. Basically I need an "space horizontal" ability (like Photoshop for layers etc). Cheers in advance. Quote Link to comment Share on other sites More sharing options...
codingmasterRS Posted March 13, 2011 Author Share Posted March 13, 2011 bump Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted March 14, 2011 Share Posted March 14, 2011 you can use margin and padding for that, maybe have a look here, for a nice horizontal menu setup. With some tweeks you can make it so it spaces automatically, but i am pretty sure some javascript is needed to measure the elements. Quote Link to comment 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.