1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Ad Template DIVs and CSS

Discussion in 'Closed Suggestions' started by Slavik, Jul 22, 2011.

  1. Slavik

    Slavik XenForo Moderator Staff Member

    Just a quick one, maybe I missed it, but the add templates don't seem to have any attached divs and css to them, so when I added in my adverts underneith the page content, it was litterally rammed against the sharepage div without any spacing.

    I would suggest that by default to include default div ids for all the ad locations, and an ad locations css file to edit them all.
     
  2. Dark Matter

    Dark Matter Active Member

    There are times when you might need to use SPAN, rather than DIV for CLASS ID's. Just worth mentioning, depending on how you add adverts of course. That's probably why they left them out for people to mix and match things there own way, each person is different how they want to integrate ads. One bog standard CSS way, won't necessarily suit all.
     
  3. Michael Dance

    Michael Dance Active Member

    If you are doing DIV's ensure you have CSS for them AKA:

    <div id="name"></div>

    div#name{
    margin-left: auto;
    margin-right: auto;
    }

    That will make it center wherever the div is placed.
     

Share This Page