Answers

Jan 16, 2008 - 04:31 AM
The reason your container cell is expanding is that an element with visibility: hidden and position: relative should take up space in the flow as if it were really there. Such are the CSS specs.
Two ways to avoid the hidden div taking up any space:
position: absolute (which takes the element out of flow)
or
display: none (which prevents any rendering of the element)
If you want to change the positioning offset, you should put position: relative on one of the div's parent elements.
Hope this helps,
Jakob
Two ways to avoid the hidden div taking up any space:
position: absolute (which takes the element out of flow)
or
display: none (which prevents any rendering of the element)
If you want to change the positioning offset, you should put position: relative on one of the div's parent elements.
Hope this helps,
Jakob

Mar 04, 2009 - 06:05 AM
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
The Quomon Team
Add New Comment