css - How to spread these divs out evenly? -


i want boxes spread out this:

alt text

exactly 218 pixels across each other.

i tried margin both of them can't perfect!

.box1, .box2 { margin: 0 20px } 

is there better way right?

i forgot mention, there floated.

why not margin-right: 218px; on .box1? missing something?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -