Forum Moderators: open
I'm looking for a solution to remove the space a <span> tag uses.
I have a table in a page where each table row is embedded within a span tag, and the style for each span tag is set to display based on whether or not a checkbox is checked, using javascript. If the span tag is set NOT to display, the span still uses space, and if several span tags are set not to display consecutively, it produces a blank block.
Is there anything I can do to supress the height of an emptly span tag?
Wrt the actualy problem, are you setting display none or visibility hidden? Visibility hidden will only make the element invisible but not remove it from the page.