Struggling with a layout issue here. I have a total of 4 DIVs that I want to position in a specific way:
Initially, I floated DIV 1 to the left and DIV 4 to the right, which worked as expected. However, things get messy as soon as I try to include DIVs 2 and 3. Depending on the order of the DIVs in my HTML, they either disappear, wrap to the next line, or appear out of sequence. This is becoming quite perplexing. I can't seem to find a CSS rule for float:center;
, so I'm unsure how to proceed.
Any assistance on this matter would be greatly appreciated! Thank you.