How to make a 4x1 image layout with html and css?












3














i'm new to programming and have been looking all day for this, but can't seem to find the answer. How do I divide 4 pictures on a row? Just like this but with four pictures:






const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>





example:



(Image)...........(image)............(image)............(image)



(button)...........(Button)..........(button)...........(button)










share|improve this question




















  • 2




    Have you tried using one element as a container and then adding elements with a width of 25%?
    – NewToJS
    Nov 17 '18 at 18:02






  • 2




    The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
    – Sparlarva
    Nov 17 '18 at 18:34










  • I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
    – Skaalsvik
    Nov 18 '18 at 14:07
















3














i'm new to programming and have been looking all day for this, but can't seem to find the answer. How do I divide 4 pictures on a row? Just like this but with four pictures:






const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>





example:



(Image)...........(image)............(image)............(image)



(button)...........(Button)..........(button)...........(button)










share|improve this question




















  • 2




    Have you tried using one element as a container and then adding elements with a width of 25%?
    – NewToJS
    Nov 17 '18 at 18:02






  • 2




    The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
    – Sparlarva
    Nov 17 '18 at 18:34










  • I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
    – Skaalsvik
    Nov 18 '18 at 14:07














3












3








3


1





i'm new to programming and have been looking all day for this, but can't seem to find the answer. How do I divide 4 pictures on a row? Just like this but with four pictures:






const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>





example:



(Image)...........(image)............(image)............(image)



(button)...........(Button)..........(button)...........(button)










share|improve this question















i'm new to programming and have been looking all day for this, but can't seem to find the answer. How do I divide 4 pictures on a row? Just like this but with four pictures:






const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>





example:



(Image)...........(image)............(image)............(image)



(button)...........(Button)..........(button)...........(button)






const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>





const left = document.querySelector(".left");
const right = document.querySelector(".right");
const container = document.querySelector(".container");

left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});

left.addEventListener("mouseleave", () => {
container.classList.remove("hover-left");
});

right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});

right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});

:root {
--container-bg-color: #333;
--left-bg-color: rgba(223, 39, 39, 0.7);
--left-button-hover-color: rgba(161, 11, 11, 0.3);
--right-bg-color: rgba(43, 43, 43, 0.8);
--right-button-hover-color: rgba(92, 92, 92, 0.3);
--hover-width: 75%;
--other-width: 25%;
--speed: 1000ms;
}

html, body {
padding:0;
margin:0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
width: 100%;
height: 100%;
overflow-x: hidden;
}

h1 {
font-size: 4rem;
color: #fff;
position: absolute;
left: 50%;
top: 20%;
transform: translateX(-50%);
white-space: nowrap;
}

.button {
display: block;
position: absolute;
left: 50%;
top: 40%;
height: 2.5rem;
padding-top: 1.3rem;
width: 15rem;
text-align: center;
color: #fff;
border: #fff solid 0.2rem;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
}

.split.left .button:hover {
background-color: var(--left-button-hover-color);
border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
background-color: var(--right-button-hover-color);
border-color: var(--right-button-hover-color);
}

.container {
position: relative;
width: 100%;
height: 100%;
background: var(--container-bg-color);
}

.split {
position: absolute;
width: 50%;
height: 100%;
overflow: hidden;
}

.split.left {
left:0;
background: url('https://image.ibb.co/m56Czw/designer.jpg') center center no-repeat;
background-size: cover;
}

.split.left:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--left-bg-color);
}

.split.right {
right:0;
background: url('https://image.ibb.co/m3ZbRb/programmer.png') center center no-repeat;
background-size: cover;
}

.split.right:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
transition: var(--speed) all ease-in-out;
}

.hover-left .left {
width: var(--hover-width);
}

.hover-left .right {
width: var(--other-width);
}

.hover-left .right:before {
z-index: 2;
}


.hover-right .right {
width: var(--hover-width);
}

.hover-right .left {
width: var(--other-width);
}

.hover-right .left:before {
z-index: 2;
}

@media(max-width: 800px) {
h1 {
font-size: 2rem;
}

.button {
width: 12rem;
}
}

@media(max-height: 700px) {
.button {
top: 70%;
}
}

<div class="container">
<div class="split left">
<h1>The Designer</h1>
<a href="#" class="button">Read More</a>
</div>
<div class="split right">
<h1>The Programmer</h1>
<a href="#" class="button">Read More</a>
</div>
</div>






javascript html css






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 '18 at 21:00









Mark Amery

60k30239288




60k30239288










asked Nov 17 '18 at 17:59









Skaalsvik

211




211








  • 2




    Have you tried using one element as a container and then adding elements with a width of 25%?
    – NewToJS
    Nov 17 '18 at 18:02






  • 2




    The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
    – Sparlarva
    Nov 17 '18 at 18:34










  • I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
    – Skaalsvik
    Nov 18 '18 at 14:07














  • 2




    Have you tried using one element as a container and then adding elements with a width of 25%?
    – NewToJS
    Nov 17 '18 at 18:02






  • 2




    The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
    – Sparlarva
    Nov 17 '18 at 18:34










  • I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
    – Skaalsvik
    Nov 18 '18 at 14:07








2




2




Have you tried using one element as a container and then adding elements with a width of 25%?
– NewToJS
Nov 17 '18 at 18:02




Have you tried using one element as a container and then adding elements with a width of 25%?
– NewToJS
Nov 17 '18 at 18:02




2




2




The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
– Sparlarva
Nov 17 '18 at 18:34




The above ^ or creating a html table and appending the images and buttons to them, or using float to put them side by side
– Sparlarva
Nov 17 '18 at 18:34












I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
– Skaalsvik
Nov 18 '18 at 14:07




I figured it out. I was on the right path just made some rookie mistakes :) Thank you!
– Skaalsvik
Nov 18 '18 at 14:07












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53353996%2fhow-to-make-a-4x1-image-layout-with-html-and-css%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53353996%2fhow-to-make-a-4x1-image-layout-with-html-and-css%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents