i have two boxes. both are floating to left. both the boxes have a function such that when a box is clicked, it hides. now the problem is that when box 1 is clicked, box 2 moves to take its place, that’s the problem. i don’t want the box 2 to move even a bit. Please help!
here’s a demo or your understanding – http://jsfiddle.net/VdpJn/
i have two boxes. both are floating to left. both the boxes have a
Share
The first box’s onclick should read,
$(this).css("visibility", "hidden");