====== CSS - Position - Horizontally center a row of floated elements ====== Wrap the container in an element with: float: right; position: relative; left: -50%; On the main container, add the following: position: relative; left: 50%; ---- ===== Example ===== #menu { float: right; position: relative; left: -50%; } #menu ul { position: relative; left: 50%; } #menu li { float: left; } ---- **NOTE:** On responsive design, consider adding **overflow:hidden** to the #menu container.