treehouse : what would you like to learn today?
Web Design Web Development iOS Development

CSS spacing question

  • I am looking to remove the spacing that is below my slideshow and above the page content. Can someone help me out with this thanks.
    www.petrowest.squarespace.com
  • Looks fine to me, there's about 10px spacing. You really have to be more specific.
  • Sorry about that. I would like to remove that 10 px spacing that is directly below my slideshow so that it does not show any of the light gray background .
  • I had thought about checking SquareSpace out, just to see if it actually produces half-decent code. I can see that that is not the case. It's such a simple layout and yet it's being produced in such a complicated manner.

    I don't have an answer for your question, it'll take a bit of time to figure out all the absolute positioning, but I did notice that you have an <h1> tag wrapping your entire slideshow, probably not the best choice!
  • make the #contentWrapper margin-top 290px instead of 300px and also change the negative top margin of .squarespace-slideshow-wrapper from -300px to -290px

    edit// I agree with Doc, not the best code for a slideshow.