I created two divs and aligned them left and right using the css inline property, the problem is that I cannot set the width and height in percent (not in the pixel value), I saw some alternatives to this question, but I still haven't got a solution ,
This is what I want: 
Here is the fiddle: http://jsfiddle.net/6JgNu/ (I used pixel values ββto set the height instead of percent). update it with percentage height.
Here is the code:
<style type="text/css"> .left-panel { background-color:#ccc; width:10%; height:100px; } .right-panel { background-color:Gray; width:90%; height:100px; }
First panel Second panel
Any help gratefully received!
source share