hope you're well.
I'm stuck again, i do try and work these things out before resulting in seeking help, but just a little hurdle im struggling to get my head around...
I cant get the parent div in blue to match the height of the child div, grr, so unsure!
Thanks in advance, you're all great
http://codepen.io/anon/pen/GoGXGa?editors=1100
<div class="kingcontainer">
<div class="topbox">
<div class="title">
<h3>Frogging Around</h3>
</div>
<div class="container">
<div class="col1">
<div class="col1text">
<font color="blue"> University Project </font><br style="line- height:30px">
Rationalise three graffiti tags as a corporate or brand logo (part 1)
</div>
</div>
<div class="col2">
<div class="col2text">
<font color="blue"> Intentions </font><br style="line-height:30px">
To have a bit of fun whilst exploring how to get the public involved in idea generation.
</div>
</div>
<div class="col3">
<div class="col3text">
<font color="blue"> Outcome </font><br style="line-height:30px">
Who would have thought the public had such creativity.
</div>
</div>
</div>
</div>
</div>
div.kingcontainer {
width: 100%;
height: auto;
position: relative;
background-color: blue;
}
div.topbox {
width: 100%;
height: auto;
position: relative;
}
div.container {
position: relative;
max-width: 90%;
height: auto;
text-align: left;
margin-left: 5%;
font-family: 'Open Sans', sans-serif;
width: 100%;
letter-spacing: 0.5px;
}
div.col1 {
width: 33%;
min-height: auto;
display: inline-block;
float: left;
vertical-align: top;
background-color: gray;
}
div.col2 {
width: 33%;
min-height: auto;
display: inline-block;
float: left;
vertical-align: top;
background-color: gray;
}
div.col3 {
width: 34%;
min-height: auto;
display: inline-block;
float: right;
vertical-align: top;
background-color: gray;
}
div.col1text {
margin-top: 100px;
margin-bottom: 100px;
margin-left: 20px;
margin-right: 20px;
color: dimgray;
display: inline-block;
}
div.col2text {
margin-top: 100px;
margin-bottom: 100px;
margin-left: 20px;
margin-right: 20px;
color: dimgray;
}
div.col3text {
margin-top: 100px;
margin-bottom: 100px;
margin-left: 20px;
margin-right: 20px;
color: dimgray;
}
Also, is there a quick way to indent all code by the 4 spaces? I have a sneaky feeling theres a more efficient way than jabbing spacebar four times on each line of code!! cheers