...

View Full Version : divs and spacing



phpnewb
01-01-2007, 05: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.

Arbitrator
01-01-2007, 01: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.

phpnewb
01-01-2007, 05:41 PM
Thank you, I just set the proper margins to 0px which corrected the problem.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum