absolutely positioned div by left and right without width - IE problem
Hi, I need to create an absolutely positioned DIV whose horizontal position (and width) is defined by its distance from left and right:
Code:
#div {
position: absolute;
left: 10px;
right: 50px;
top: 0;
height: 100px;
}
The problem is that IE does not stretch the div since there's no width defined. Does anybody know a way around? I've spent quite some time with this issue now and I haven't found any solution except of using tables. What misery!
Thanks for any suggestions / ideas.