Skip to content

Instantly share code, notes, and snippets.

@dei79 dei79/demo.html
Created Oct 27, 2012

Embed
What would you like to do?
Ensure two div-elements will get the same height (jquery solution)
<html>
<head>
<style>
#id {
float: left;
}
#left {
float: left;
width: 50%;
background-color: red;
}
#right {
float: left;
width: 50%;
background-color: yellow;
}
</style>
</head>
<body>
<div id="container">
<div id="left">
The left page
</div>
<div id="right">
The right page
<br/>
<br/>
<br/>
with more content
</div>
</div>
</body>
</html>
@Cross12

This comment has been minimized.

Copy link

commented Sep 5, 2018

how do we get the higher panel instead of lower panel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.