|
Posted by Snef on 10/18/06 05:45
nagasaki mike wrote:
> <div style="position: absolute; width: 200px; background-color:
> #eeeeee;">vodka</div>
> <div style="position: absolute; margin-left:200px; background-color:
> #dddddd;">
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut gravida. Donec
> nec tellus eu magna malesuada facilisis.
> Suspendisse adipiscing nisl sit amet metus. Praesent rhoncus ullamcorper
> velit. Nam tortor. Maecenas volutpat commodo urna.
> Etiam ornare erat at enim. Cras a velit.</div>
>
>
>
> ah well works in everything but ie. i am now gone.
>
>
I hope your head is allright after the wodka ;)
This is not what i meant. I know I can use a left margin and all but that was
not the question.
The enclosing div is just for test purposes. In the website there is a content
div like the enclosing one.
I was searching for some automatic stretching of the second div. When div1 is
there, it would fill the leftover space, when div is hidden, the second div will
stretch up.
Nevermind, it seems not to be done in css only, i'll use js (already done that,
but i was wondering about a solution purely in css).
Thnx
[Back to original message]
|