Skip to content

Instantly share code, notes, and snippets.

@01-Scripts
Created March 12, 2010 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 01-Scripts/330526 to your computer and use it in GitHub Desktop.
Save 01-Scripts/330526 to your computer and use it in GitHub Desktop.
Spalten mit gleicher Höhe in CSS
<!-- Spalten mit gleicher Höhe in CSS -->
<div id="wrapper">
<div id="maincontent">...</div>
<div id="sidebar">...</div>
</div>
#wrapper{
margin:0 auto;
width:600px;
}
#maincontent{
border-right:solid 200px #DFDFDF;
position:absolute;
width:400px;
}
#sidebar{
background:#DFDFDF;
margin-left:400px;
position:absolute;
width:200px;
}
@01-Scripts
Copy link
Author

Gute Alternative mit 3 Spalten:
http://www.cssplay.co.uk/layouts/threecol.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment