The picture below shows what I have.
The blue boxes is the code I will supply.
I simply want to duplicate those boxes as a single box with the same everything except width.
I want to place a new box above the two to look the same except take the same width as the two boxes below combined. This way there is a wide box on top and the two narrow below. Kind of like merging cells in a spread sheet.
Thanks.
type or paste code here
````html {
box-sizing:border-box;
}
*, *::before, *::after {
box-sizing:inherit;
}
.outer {
width:80%;
margin:0 auto;
}
.articles {
outline:1px dashed #000; /* TEST Outline. To Be DELETED. */
padding-bottom:8px;
margin:4px -8px; /* see NOTE in comment marks at top of page */
}
[class^="row"] {
width:100%;
display:table;
table-layout:fixed;
border-spacing:8px 0;
padding:8px 0 0;
}
.tcell {
display:table-cell;
border:4px solid #5c759f;
padding:4px;
}
.row2 .tcell {background-color:#f0c880;} /* TEST backgkround-color. To Be DELETED. */
.row3 .tcell {background-color:#def;} /* TEST backgkround-color. To Be DELETED. */
@media screen and (max-width:700px) {
.row2 {
display:block;
width:auto;
padding:0;
}
.row2 .tcell {
display:block;
width:auto;
margin:8px 8px 0;
}
}
@media screen and (max-width:1000px) {
.row3 {
display:block;
width:auto;
padding:0;
}
.row3 .tcell {
display:block;
width:auto;
margin:8px 8px 0;
}
}`
Well its all done, More easily than my brain was making it out to be, No flex Box, nothing fancy. Just a darn class added to the div element did the trick.
This is all I had to add and it works on Chrome, Edge and Firefox. Who cares if it works on odd ball browsers but it should because it is nothing special.