Trying to get the left box at 62% of the width to the left and the right box at 38%. Where ever I add the percentages, they still sit at 50%. Any ideas? Thank you for any help/advice you can share.
<!DOCTYPE html>
<html>
<head>
<style>
#sides {
  display: flex;
  padding: 0px 0px;
  background-color: white;
}
.sideleft {
  flex: 1;    
  padding: 20px;
  margin: 0;
}
.sideright {
  flex: 1;    
  padding: 20px;
  margin: 0;
}
#left {
  background-color: #333333;
}
#right {
  background-color: #018DCA;
}
h1 {
  color: #FFFFFF;
}
h2 {
  color: #FFFFFF;
}
</style>
</head>
<body>
<div id="sides">
  <div class="sideleft" id="left" align="right">
    <h1>text</h1>
    <h2>text</h2>
  </div>
  <div class="sideright" id="right">
    <h1>text</h1>
    <h2>text</h2>
  </div>
</div>
</body>
</html>
				
                        
You just have to make the left and right side, float left and have display:inline-block here is the css with it working. You also have to set your container div in this case sides to 100%