View Full Version : divs and spacing
01-01-2007, 04:33 AM
I am trying to control the amount of space inside my divs. I have a header on some of my divs and the text below it is being pushed down too far. How can I can decrease the space between my text and the header. I already have it set to no padding. Do I need to use relative positioning? Any help would be much appreciated.
01-01-2007, 12:45 PM
It would help if there was some code to look at. Try removing or reducing the margins of the related elements; there are typically default margins added by browsers to the six header elements, the paragraph element, et al. If you still have more space than desired, try adjusting the line‐height of the involved text.
01-01-2007, 04:41 PM
Thank you, I just set the proper margins to 0px which corrected the problem.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.