I am in the process of coding a two-column layout, with a total width of 980px. Each column will have a background that expands all the way to the left and right sides as shown in the screenshot here.
On the left side, there is a blue div with a width of 49%. Inside this div, there is another div containing text that needs to expand to 470px to keep it aligned within the overall max-width of 980px. The text should also scale down when the viewport size decreases as shown in this screenshot.
I'm looking for a way to keep the div expanded like in the Photoshop screenshots while also aligning it correctly within its parent blue div on the right side. When using float:right and max-width: 470px, I end up with undesired results as shown here. Can someone help me resolve this issue?