Skip to main content

All Questions

0 votes
1 answer
29 views

Floated element width affects centering of other

Good day to you all, So i got this problem. I have header and inside there is logo and wrapper with button. I have used margin: 0 auto; to center wrapper with button and than used flex to center ...
Marek Paintras's user avatar
0 votes
2 answers
33 views

Vertical centering of float elements (navigation controls) within a container

I've read How can I center two floated elements within a container? and friends; the former refers to horizontal centering, and the friends to non-floated children AFAICT. Why am I using floats? Well, ...
tbm's user avatar
  • 1,221