the design spec made it hard for me haha or maybe im just too lazy
You can use HTML/CSS styling with some freedom. However:
- I will copy/paste your ad into the ad area of the page's HTML. It then must actually fit in that location of the page and not overflow into other things. Usually you don't have to go to any extra trouble to make this happen if you avoid manual positioning (including negative margins, etc.) and other weird tricks.
- Ads must not contain images (not even images made via data URIs, CSS, or SVG) or JavaScript.
- The maximum size of everything related to each of your ads is 51200 bytes.
- Ads must not contain forms
- Ads must not animate except for subtle hover effects
- Ads must not load things from external sites, including custom fonts, even if they're downloaded from a common trusted location like Google.
- Ads must not be taller than about 42px as I see them on my browser, which is around 900px wide. Keep in mind that people often view the forum on smartphones and other devices with small screens: to ensure that everyone can read your ad, it's a good idea to make it work even at very low screen sizes. This isn't required, though.
You can send valid BBcode (the markup used when making forum posts), or you can send HTML with inline CSS (style="..."). Do not minify anything you send -- I may need to modify it slightly. Note that your ad's style may be affected by the board's default CSS, especially if you use inline CSS.
Common mistakes when creating ads:
- It is invalid XHTML to put a
- Ads will be affected by the forum's CSS. Ads will by default have text-align:center and font-size:90%; links will have :hover{text-decoration:underline}; etc. Make sure you insert your ad into a downloaded version of https://bitcointalk.org/ad_test.html to see whether it looks OK with the inherited styles. (Read the HTML comments in that page.)
- If your top-level element is a block element (
- Special symbols, especially including & symbols in URLs, need to be converted into entities like &.
- Using tables often causes various problems.
Bypassing AdBlock Plus:
It is difficult or impossible for ABP filters to block the ad space itself without blocking posts. However, filters can match against the URLs in your links, your CSS classes and style attributes, and the HTML structure of your ads.
To bypass Adblock Plus, you should:
- Use header CSS, not inline.
- Use no more than 4 CSS classes per banner as.
- Use only one and no other tags if possible. If your ads get blocked because of matching done on something inside of your ad, you are responsible for noticing this and giving me new ad HTML.