- Aug 4, 2001
- 967
- 0
- 0
I'm rather new to using CSS to completely design my web pages.
I have various elements (text, images) inside a div. I'm using relative positioning to shift some of these elements up (for example, shifting up text to overlay it over an image). It all works very nicely, but the containing div takes up as much space as it would if I had not shifted up my elements. So I end up with empty space at the bottom for nothing.
Anyone knows how to fix this?
I have various elements (text, images) inside a div. I'm using relative positioning to shift some of these elements up (for example, shifting up text to overlay it over an image). It all works very nicely, but the containing div takes up as much space as it would if I had not shifted up my elements. So I end up with empty space at the bottom for nothing.
Anyone knows how to fix this?