У меня есть DIV в фиксированной позиции в нижней части страницы, которая составляет 354 пикселей слева.
Мне нужно DIV, чтобы заполнить оставшуюся ширину страницы. Как я могу это сделать? Спасибо
Посмотрите на изображение ...
http://www.freeimagehosting.net/uploads/a1b6e2946e.gif
Редактировать
<html>
<head>
<style type="text/css">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td
{
margin: 0;
padding: 0;
}
#Container{
width:100%;
height:100%;
background-color:gray;}
#sidebar{
width:354px;
height:100%;
position:fixed;
left:0px;
top:0px;
background-color:orange;}
#toolbar{
height:40px;
width:100%;
position:fixed;
bottom:0px;
margin-left:354px;
background-color:blue;
text-align:right;color:white}
</style>
</head>
<body>
<div id="container">
<div id="sidebar"></div>
<div id="toolbar">
Demo text
</div>
</div>
</body>
</html>