I have a layout made up of 4 "interlocking" divs, like so:
-------**********
- -* *
- -* *
- -* *
------- *
++++++ * *
+ + * *
+ + **********
+ + ^^^^^^^^^^
+ + ^ ^
+ + ^ ^
+ + ^ ^
+ + ^ ^
++++++ ^^^^^^^^^^
I want to put borders around the "top" and "bottom" bits, to have the final layout look like:
-------**********
- *
- *
- *
------- *
++++++ * *
+ + * *
+ + **********
+ +^^^^^^^^^^^
+ ^
+ ^
+ ^
+ ^
++++++^^^^^^^^^^^
(Where two divs used to meet should be a smooth border that looks like one unified shape)
How should I do this properly in CSS?