On Wed, Jun 12, 2013 at 4:50 PM, Frank Taylor <pace...@madebypaceaux.com> wrote:
> In your exact use case,I've solved the problem  by using the adjacent sibling 
> selector. More than three items and I consider things a little too messy;  
> I'll revert to JS or helper classes for more than three items:
>
>
>> <style>
>> .wrap div{width: 32%;margin-right:2%;float:left}
>> .wrap div + div + div {margin-right:0;}
>> </style>
>>
>> <div class="wrap">
>>     <div></div>
>>     <div></div>
>>     <div></div>
>> </div>


I like it. That idea never occurred to me, sadly.


--

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to