Something similar to that is already in the CSS for post images. This will not resolve your impossible request beyond what was already posted for you.

Just think for a moment on what you are asking of a mobile screen to do.

Read the two replies posted for you, and compare with the 4 screenshots within the post you replied to.

Requesting that TWO 150px wide ads appear alongside readable post content on a ~ 375px wide mobile screen will give your mobile users two greatly frustrating results:
1) The entire content that a user came to your website to read, will be condensed in to a single middle vertical column. Math says 150 x 2 = 300. Average mobile screen is a 320px - 400px "CSS pixel-ratio." This leaves less than about 80px for content/words on a 5.5" - 6" phablet mobile device (such as an iPhone PLUS series, Galaxy Note series...etc)
and
2) The user will still need to zoom in and out, just to navigate through your forum. All content, navigation elements, and ads will be too small to read or tap on.
Reposted image example:


[Linked Image]




Look at the rest of the screenshots attached to my posts above, as you reread that post again. Suggestion #4 is the best possible solution to what you're requesting; completely removing the mobile experience from your web forums. That will produce the following result.

[Linked Image]


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com