•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 455,976 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,797 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2008 | Replies: 5
![]() |
•
•
Join Date: Jun 2006
Posts: 27
Reputation:
Rep Power: 3
Solved Threads: 0
I have empty space div that goes like this:
and the CSS for this is:
This should just make an empty box. And its fine in firefox. But in IE I get no space at all! Whats wrong?
<div id="space"><!-- IE fix--></div>
and the CSS for this is:
#space{font-size:0;
background-color:transparent;
height:15px;
display:block;
}This should just make an empty box. And its fine in firefox. But in IE I get no space at all! Whats wrong?
I was going to agree with you, then I found this DIV tag in my own code which I forgot I used to adjust the position of the content below it. (It seemed to be the simplest solution at the time)
<div style="height: 37px;"> </div>
Like I had mentioned before, works just fine.
<div style="height: 37px;"> </div>
Like I had mentioned before, works just fine.
--
Robert Williams
CEO, Founder
CertGuard
Robert Williams
CEO, Founder
CertGuard
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- fstream Tutorial (C++)
- Need help with Caesar Cipher program (Java)
- PXE-E61: Media test failure, check cable (Troubleshooting Dead Machines)
- Reading data into files (C++)
- Memory Loss?Tom Coyote Tweak (Windows tips 'n' tweaks)
- Can't open links in Hotmail (Web Browsers)
- New adsense features! Whew (Advertising Sales Strategies)
- about:blank again sorry tried what ive read and nothing (Viruses, Spyware and other Nasties)
- World Webmaster (Website Reviews)
- drivespace3 (Windows NT / 2000 / XP / 2003)
Other Threads in the HTML and CSS Forum
- Previous Thread: dynamically resizing content to fit diffent monitor sizes automatically
- Next Thread: overlapping divs



Linear Mode