I need to make the div visible (to use its background), although it will not contain anything, but not push other elements down.
My layout is as follows:
/----------------a--------------------\ |-------------------------------------| |________________b____________________|
One that is marked as a must be visible, but there will be nothing in it. This means that the background image can make window b look like it has some shine on top, and text will be contained in field b . However, the text in field b should begin at the top of window a , and not below it, which is the default behavior.
So, box a should act as if it does not exist as far as the layout goes, but must act as it exists for the purpose of the background image.
For demonstration, this is what it now looks like, by default:
/-------------------------------------\ |-------------------------------------| | there is some text here | |_______and more text down here_______|
but I want him to be
/-------------------------------------\ |-------there is some text here-------| |_______and more text down here_______|
source share