homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

Spacing Problem

 12:35 pm on Jul 2, 2009 (gmt 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 Jul 2, 2009 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved