January 9, 200719 yr Hey, I'm having a nightmare figuring out why IE will not set the height of my div box to 4px? Now before CSS I would use tables hack by adding a 1x1px transparent .gif which would allow me to set the height of a table below 10px. As tables are a thing of the past (except for tabulated data of course) - how can I change the height of a div so I can reduce it below IE's defualt 10px? <div id="topbox"></div> #topbox { height: 4px; } Any help would be greatly appreciated. DK
January 9, 200719 yr Hi DK, I'v encountered this problem many times, hopefully this change to your css will help you. #topbox { height: 4px; font-size: 1px; } Let me know how you get on
January 9, 200719 yr Hi DK, I'v encountered this problem many times, hopefully this change to your css will help you. #topbox { height: 4px; font-size: 1px; } Let me know how you get on That's the fix for sure
January 9, 200719 yr Author It works! YES! That was driving me mad! Thank you so very much for the help with this, no doubt i'll be back should i need more help with this. Thank you. DK
Create an account or sign in to comment