Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Spacing Problem



12:35 pm on Jul 2, 2009 (gmt 0)

5+ Year Member

I have a div with margin and padding in it. And i want to hide the content inside the div. Iam using js to show, hide process. The problem is when i tried to hide the content, it gets hide but the spacing or the gap remains the same. Firefox renders properly, but not in ie. How can i solve this issue in ie using css?


4:42 pm on Jul 2, 2009 (gmt 0)

5+ Year Member

The safest option would be to remove the element itself, as opposed to just the elements content, by setting 'display:none'

Featured Threads

Hot Threads This Week

Hot Threads This Month