On Mar 16, 2015, at 7:43 PM, John <[email protected]> wrote:
>> On Mar 16, 2015, at 5:41 PM, Ryan Reese <[email protected]> wrote:
>>
>> Text-align:center is a fine way to center list items. Noone will scorn you
>> or your centering method. I assume that the list items are inline-block?
>> inline?
>>
>> http://codepen.io/ryanreese09/pen/ZYmaxa
>> <http://codepen.io/ryanreese09/pen/ZYmaxa>
>>
>> That's the optimal way to center in this scenario. Obviously there are more
>> than one ways to center items but it just depends on your situation. You can
>> breathe easy. Text-align:center; is the easiest way to center
>> inline/inline-block elements.
>
> OK..thanks..heh..that answers and soothes my concern..thank you for that
> codepen, too.
>
> J
You can also do the non-inline method.
.Absolute-Center {
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
______________________________________________________________________
css-discuss [[email protected]]
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/