Jump to content

Spacing


codingmasterRS

Recommended Posts

Ahh I see, you want them to dynamically space out to be 500px.

 

Can't be done through CSS alone. You will need to use some server-side logic to do this if you want. You will have to count the number of list elements in your server-side script, divide 500 by the number of elements, then use your server-side script to add a style tag with the width into each of your elements.

Link to comment
https://forums.phpfreaks.com/topic/216994-spacing/#findComment-1127379
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.