[CSS] Need help with positioning.
Posted: Wed Sep 12, 2007 5:41 pm
I need to get a div to move up a few pixels. I've played around with both absolute and relative position but I can't get it right. Relative position messes up the table below the div. I also tried to add:
But that didn't work either.
The css for the div is:
The content above and below is dynamic so I can't set the top to it's real value in pixels from the beginning.
I am really tired right now and perhaps my explanation isn't the best, feel free to ask if there are any questions.
Thanks.
Code: Select all
top: -2px;The css for the div is:
Code: Select all
#hidden_div {
visibility: hidden;
width: 91px;
height: 30px;
position: absolute;
background: url("images/pic01.jpg");
}I am really tired right now and perhaps my explanation isn't the best, feel free to ask if there are any questions.
Thanks.