Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6803661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:22:18+00:00 2026-05-26T19:22:18+00:00

I am trying put ads inside my blogger post & i want my data

  • 0

I am trying put ads inside my blogger post & i want my data to wrap around the ads.I am using following code to make this happen.

Ex. Desired output.

.enter image description here

<div style='float:right;margin:50px 0px 0px 0px;'>
<!-- AD1 Code -->
</div>


<data:post.body/>

<div style='float:left;margin:0px 0px 50px 0px;'>
<!-- AD2 Code -->
</div>

But i am not able to wrap the text around it & Second div sticks to the bottom without showing any data on the right side.
Is there any property which is left to be added apart from Float and margin.

EDIT: <data:post.body/> is the tag which fetches every blogger post content. so the data for the post come automatically. This code has to be added in the template so that it works for every post. I can’t hard code the Div tags inside every post so i need some method to arrange ads around my post.

I can put the divs with the specified properties at the starting or ending of the <data:post.body/> tag.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:22:18+00:00Added an answer on May 26, 2026 at 7:22 pm

    You can try this :

    <div style="text-align:justify">
    
    <div
    style="float:right;margin:5px;border:2px solid red;height:100px;width:100px">
        Ad 1
    </div>
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lobortis 
    ultrices felis, sed faucibus elit sollicitudin eu. Pellentesque habitant 
    morbi tristique senectus et netus et malesuada fames ac turpis egestas. 
    Etiam id mi a elit luctus tristique. Curabitur pharetra magna ac nisi 
    accumsan a consequat magna placerat. Aliquam erat volutpat. Integer id 
    felis ante, et malesuada leo. Duis scelerisque vulputate lorem, at 
    cursus eros rutrum pulvinar.
    
    Nunc tempus ultricies varius. Suspendisse interdum imperdiet enim, quis 
    aliquam sapien pulvinar in. Morbi vulputate euismod elit, ut ultricies 
    lectus dignissim at. Venenatis ullamcorper purus at consequat. Integer 
    ultricies, quam vitae fringilla venenatis, urna felis tincidunt turpis, 
    quis volutpat nisi felis tincidunt turpis. Proin at metus sit amet augue 
    convallis laoreet. Etiam viverra mollis ornare. 
    Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere 
    cubilia Curae; Pellentesque libero lectus, laoreet quis consectetur sit 
    amet, laoreet vel. Suspendisse commodo fringilla facilisis. Nam viverra 
    laoreet lorem, at molestie vestibulum non.
    
    <div
    style="float:left;margin:5px;border:2px solid red;height:100px;width:100px">
      Ad 2
    </div>
    
    Etiam ut nulla justo. Quisque dignissim ultrices faucibus. Maecenas volutpat, 
    eros nec rutrum eleifend, enim dolor gravida nulla, quis vestibulum neque 
    dolor vel purus. Etiam imperdiet mollis magna, eget interdum eros tincidunt 
    quis. 
    Sed a ligula metus, ac ornare elit. Cum sociis natoque penatibus et magnis dis 
    parturient montes, nascetur ridiculus mus. Suspendisse sit amet lacus felis. 
    Phasellus ultrices facilisis interdum. Morbi dapibus turpis a nisl mollis in 
    hendrerit quam luctus. Cras eleifend mauris eu lectus viverra ullamcorper. 
    In sed erat et lacus dapibus fermentum. Donec bibendum, eros ac convallis 
    fermentum, dolor justo tincidunt risus, vitae lacinia lorem risus eu ipsum. 
    Morbi fringilla ante ut ipsum blandit vehicula.
    </div>
    

    Preview : http://jsfiddle.net/Gs2kD/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to put into XML-file some data. Here is the code: @Test public
Im trying to put an html embed code for a flash video into the
I am trying to put some distributed caching into play, I'm using this indeXus.Net
I am trying to put a list inside of a <div> so that I
I am trying to put an indeterminate ProgressBar on the actionBar. I was using
Using MySQL and PHP. I'm trying to select 4 random ads from a table.
I trying to put my Mac's data in order. I have many rc-files at
I'm trying to put some small ads on my page. They are showed in
Trying to put my head around how to model the notion of default values
Im trying to put arraylists into an arraylist. Adding data to the new arrays,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.