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

help with advertise html

Discussion in 'XenForo Questions and Support' started by madmartigan, Nov 19, 2012.

  1. madmartigan

    madmartigan Active Member

    How can i move the advertise to left inside the block using html?
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's hard to say without seeing the HTML code you're using currently.

    But firstly you will want to make sure that the ad HTML is in its own <div></div>

    If having it in its own div itself doesn't solve the problem, you may need to apply a bit of styling to it. It looks like it might need some right padding, so maybe something like this:

    <div style="padding-right: 10px;">

    That will hopefully push itself to the left a bit. Adjust the 10px to your needs. There may be other ways of achieving this.
    Jake Bunce likes this.
  3. madmartigan

    madmartigan Active Member

    The weird thing is that i can move it to right when i changed right to left but when its right i cant move it to left.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can also do relative positioning:

    <div style="padding-right: 10px; position: relative; top: 20px; left: 50px;">
    That allows pixel adjustments (can be negative to go both directions).

Share This Page