Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Padding Issue – Grid Accordion

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43492
    leighgoodman
    Member

    Hi there

    I am trying to implement this (https://css-tricks.com/grid-accordion-with-jquery/) into my website. I almost have it but there is one tiny thing that is not working and I cant seem to fix it.

    http://www.leighdesignstudio.com/business-startup-packages.php
    This is where I am working from.

    In the CSS that came with the script, there was the first bit that was:

    * { margin: 0; padding: 0; }
    html, body { height: 100%; overflow: hidden; background: #eee; }
    body { font: 14px Georgia, serif; }

    Now, when I keep that in, everything works (for the accordion) – but it messes up my entire site and i don’t want to do that. If i take it out. it displays like it is now, with this 40 pixel white space which I cant find anywhere.

    Can anyone assist?
    Much appreciated!

    Leigh

    #128723
    Merri
    Participant

    `dd { margin: 0; }`

    #128909
    leighgoodman
    Member

    Thank you so much! I knew it was going to be something very simple I am missing :) Great script! thanks :-)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.