I have a table inside a div 1.
Then after that div 1 added another div 2 with position:relative; top:-250; so that div 2 layer will be right on top of the table. But now below the table there is a big space before anything on the page can resume displaying (I guess the second div 2 would have normally been without the -250 position change?) How do I get rid of the space and clear it? I tried this...
<div style="clear:both;"></div>
...and it didn't do anything
The page is here...
http://www.gootar.com/drums/metronome.html
I really just need a way to have a layer I can write text in (like the number 2) right on top of the table. Is there an easy way to do this?
There is a big space now underneath before the play buttons for no reason?
Update:
I did this following Fraxtil's advice:
Using position: absolute; margin-top: -250px; seems to be the solution you're looking for.
also with left:375;
..and that works,
but won't that make the div 2 always exactly there? What if the table changes position on the page? Can I do this so it can be directly related to the table position somehow?