I have the following page that I'm trying to have a div span the whole page.
I used width:100%;
but it didn't span the whole width. I was trying to do this based on answer already provided on stackoverflow:
Fluid width with equally spaced DIVs
I have the following CSS for this:
#experience-container {
text-align: justify;
-ms-text-justify: distribute-all-lines;
text-justify: distribute-all-lines;
width:100%;
margin-top: 45px;
position: fixed;
z-index: 1;
background-color: rgba(248,248,248,.8);
text-align: center;
font-size: 13px;
}
#experience-container > div {
width: 12%;
/*height: 125px;*/
vertical-align: middle;
display: inline-block;
margin-top:20px;
/*display: inline;
zoom: 1*/
}
#experience-container:after {
content: '';
width: 100%;
display: inline-block;
font-size: 0;
line-height: 0
}
How do I get the contained to span the whole page regardless of screen width?