DIV horizontal auto margin with inner span / div

arthannemtv

New Member
what I'm trying to do is so simple yet my brain refuses to function today!\[code\]<div id="outer"> <div class="inner">TEXT 1</div> <div class="inner">TEXT 2</div> <div class="inner">TEXT 3</div></div>\[/code\]Should appear visually like this:\[code\]|---------------------------------------------------|| TEXT 1 TEXT 2 TEXT 3 ||---------------------------------------------------|\[/code\]Where .outer is 100% width and each of the text elements are equally spaced within. ps. I can use spans for the inner elements if this is easier.
 
Back
Top