Hi I'm tryng to make two boxes on my page always the same hight, no matter how much text is inside one of them.
So the boxes will always be the hight of the box with the most text.
you can see what I meen here:
http://wearecrunch.dk/test-globeaid/
I would wan't the two boxes to be the hight of the one to the left with the most text.
At first I thought it could be done in css, but I was told that I needed javascript to do it. And I don't have so much experience with javascript, but I can try :)
this is my css:
#indexcontent{
background-color:#336699;
border-top:#2175a5 solid 10px;
padding:10px 10px 10px 10px;
display:inline;
position:relative;
width:421px;
float:left;
}
#indexblog {
background-color:#3333FF;
border-top:#2175a5 solid 10px;
padding:10px 10px 10px 10px;
position:relative;
width:421px;
float:left;
margin-left:100px;
}
and this is my html:
<div id="indexcontent">dwqdwqf<br>
dnjkwlka<br>
dsadsa<br>
daDASDS<br>
dsadsadas<br></div>
<div id="indexblog">dsadfw<br>
few<br>
fe<br>
wf
ew
few
f
ew
few
few
</div>
I hope someone can help me with how to use javascript to what I wanna do?
Thank you