Spacing Images apart in a <ul>
If you take a look at this site here:
Notice the top menu (home, bikes, my account, etc).
Those are basically just .png images in a <ul>
However, I would like to space those images out horizontally, so the menu should take up about 50% of the width of that entire bar.
Is there a simple way to do this in CSS, or should I just recreate the images themselves with wider dimensions to space it out?
I'm not sure why you have that menu nested in 3 containing elements, #menu, #mainMenu and #electraMenu. Have a look at divitis and how to avoid it.
You also have heights and widths of containing elements set too small to contain the elements you've placed in them. Your menu is much taller than 11px so I'm not sure why .mainMenu would be that hight.
To space out your li elements, just use some margin... something like this -
Thanks Excavator! Ya Im working with an older system that has been through several revisions before my time. I just want to massage the CSS for now until we start with a new ecommerce platform. There is a ton of junk CSS/code
|All times are GMT +1. The time now is 11:47 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.