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. Link to comment https://forums.phpfreaks.com/topic/230415-lu-ul-spacing-with-css/ Share on other sites More sharing options...
codingmasterRS Posted March 13, 2011 Author Share Posted March 13, 2011 bump Link to comment https://forums.phpfreaks.com/topic/230415-lu-ul-spacing-with-css/#findComment-1186818 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. Link to comment https://forums.phpfreaks.com/topic/230415-lu-ul-spacing-with-css/#findComment-1187333 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.