z index - 3 column layout, fixed vs. relative positioning CSS -


i have 3 column table layout center column being position:relative;

inside center column have form needs position:fixed; (well, unless there way)

what need form have liquid width when browser widens, needs stick bottom of page. so, if use position:fixed; stays @ bottom, overlaps right sidebar. if use position:relative; stays between sidebars should, scrolls page.

i made little jsfiddle doesn't display fixed positioning. can see code. http://jsfiddle.net/winchendonsprings/s5zkm/1/

here can see overlap right sidebar. http://i.imgur.com/awp07.png

#center {     padding: 0 15px;     background-color: green;     position:relative; } div.main {     position:absolute;     bottom:0px;     left:0px;     right:0px; } 

you can try (absolute positioning within relative positioning parent). play top , bottom values position vertically. (it should resize window horizontally). want?


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -