Grow your CSS skills. Land your dream job.

Spacing issue between divs??

  • # May 28, 2009 at 11:06 pm

    HELP! I am very new to HTML/CSS and am extremely frustrated with my website I’m working on. There are weird spaces/gaps appearing between my divs (I think) and I’ve spent many hours trying to figure out what’s wrong with no avail! If anyone can offer any help that would be superb!

    http://beta.wildspiritdesigns.com/portfolio.html

    Thanks in advance!

    Lyle

    # May 29, 2009 at 5:21 am

    Set your paragraph top and bottom margins to 0.

    # May 29, 2009 at 8:46 am

    Hey Thanks!! That was easy enough. I have one more question if you can help with this as well… It looks like my main content area and footer is shifted to the right 1 pixel and I’ve triple checked to make sure my images are all the same width. Could it be something in my coding?…

    # May 29, 2009 at 9:40 am

    It’s the way you have sliced the images. I just downloaded all three and they don’t line up. I would go back to photoshop and slice them out again, I would also make them the same size as your page-wrap.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".