• Resolved Proulx06

    (@proulx06)


    I have two ad groups being used in the same sidebar. One for tournaments, the other for site sponsors. Both are set to BLOCK, both with a padding of two pixels.

    The top block (tournaments) have ads that are 160 wide by 100 tall. The bottom block (site sponsors) are 160 wide by 80 tall.

    My question is that the top group seems to have large padding while the bottom block seems very close to each other. The padding (or margin) seems to be different.

    Any ideas?

    Site is here: https://www.backyard-hockey.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    You may be missing a closing tag somewhere, a missing </div> or something.
    That would explain why margins behave differently in similar locations.

    Thread Starter Proulx06

    (@proulx06)

    You mean somewhere else on my page? Because these margins are within the ad blocks themselves, and I haven’t touched the plugin code whatsoever. I would think that the margins within the plugin code would be the same.

    Can you look at my right sidebar to see what I mean?

    https://www.backyard-hockey.com/

    Plugin Author Arnan de Gans

    (@adegans)

    Yea someplace above the adverts (or in code parsed before the adverts). A single missing </div> (or similar tag) can screw up the layout of an entire website if you’re unlucky.

    Of-course if the pages are different and apply different CSS for things that may cause a mismatch also.

    Either of these things would be my focus at first to determine what’s going on.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Padding (margin) is different for two different groups?’ is closed to new replies.