Welcome to WebmasterWorld Guest from 54.234.244.30

Forum Moderators: not2easy

Message Too Old, No Replies

Spacing Problem

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

New User

5+ Year Member

joined:May 30, 2006
posts:12
votes: 0


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 July 2, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:May 26, 2009
posts:107
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members