I've a...
<body> with <div id="prj_div">
<div id="prj_mainframe"> </div>
<div id="prj_inputarea">
<div id="prj_inputarea_left">
</div>
<div id="prj_inputarea_center">
</div>
<div id="prj_inputarea_right">
</div>
</div>
and with CSS...
#prj_div {
overflow: hidden;
resize: both;
min-width: 32.2em;
width: 32.2em;
min-height: 22ex;
padding: 0.375ex 0.1875em;
position: relative;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
}
#prj_chatframe {
resize: none;
height: auto;
position: absolute;
left: 0;
right: 0;
top: 0px;
bottom: 3.75ex;
overflow-x: hidden;
overflow-y: scroll;
}
#prj_inputarea {
resize: none;
width: 100%;
position: absolute;
height: 3.75ex;
line-height: 3.75ex;
padding: 0 0.1em !important;
bottom: 0;
left: 0;
right: 0;
overflow: hidden;
margin: 0;
padding: 0;
text-align: left;
}
#prj_inputarea_left {
width: 7.25em;
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
left: 0;
right: 7.25em;
}
#prj_inputarea_center {
min-width: 27.25em;
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
left: 7.25em;
}
#prj_inputarea_right {
width: 3em;
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
right: 0px;
}
#prj_id {
width: 7.25em;
}
#prj_text {
width: 75%;
}
There is a text input in the prj_inputarea_left and center, with 12 letters of hypertext in right, FWIW.
If I set #prj_inputarea width to 97% instead of 100%, this works much better. There are two issues I'm trying to solve with this.
- Make the reziable prj_div accessible from behind prj_inputarea.
- The original goal was to have prj_inputarea_center shrink/grow to fill the available space.
Attempted solutions:
z-index, the result was overflow created a x-scroll with the resize on it. This kinda worked, but I'd like to do it w/o an x-scroll for 5px.
Javascript? This is working so well. I'd rather do without this feature if it means bringing a new technology into the fray.
Modeled after:
http://stevesanderson.github.io/fixed-height-layouts-demo/two-columns.html