Created
March 12, 2010 17:03
-
-
Save 01-Scripts/330526 to your computer and use it in GitHub Desktop.
Spalten mit gleicher Höhe in CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gute Alternative mit 3 Spalten:
http://www.cssplay.co.uk/layouts/threecol.html