Home › Forums › CSS › Center floated element › Re: Center floated element
July 1, 2013 at 5:31 am
#141117
Participant
@wolfcry911 I floated the container so it assumes the content size and the ul to have ul and .right side by side. What I’m trying to accomplish is to have a menu that can grow on the left and a search box that will be centered in the remaining space in .right.
@gcyrillus The problem with your solution is that .rigth has fixed width.