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 8136699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:50:33+00:00 2026-06-06T10:50:33+00:00

Situation is simple. I need to wrap text around two inline objects (buttons with

  • 0

Situation is simple. I need to wrap text around two inline objects (buttons with images), but those buttons should be in two rows (not side by side).

Problem is – necessary buttons are really tiny, (less than half width of the screen) – so they align up in one line.

Here is what I got now:

enter image description here

And here is what I am trying to achieve:

enter image description here

And here is the code I am experimenting on:

<html>

<body>

<a href="http://link" target="_blank">
<div style="float:right;right:30px;top:30px;display:inline-table;">
<img id="imageTable" width="30" height="30" src="http://www.google.com/intl/lv/services/hp/images/safari-gear.png"/>
</div> </a>

<a href="http://link" target="_blank">
<div style="float:right;right:30px;top:30px;display:inline-table;">
<img id="imageTable" width="30" height="30" src="http://www.google.com/intl/lv/services/hp/images/safari-gear.png"/>
</div> </a>

Nulla facilisi. In vel sem. Morbi id urna in diam dignissim feugiat. Proin molestie tortor eu velit. Aliquam erat volutpat. Nullam ultrices, diam tempus vulputate egestas, eros pede varius leo, sed imperdiet lectus est ornare odio. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin consectetuer velit in dui. Phasellus wisi purus, interdum vitae, rutrum accumsan, viverra in, velit. Sed enim risus, congue non, tristique in, commodo eu, metus. 

</body>

</html>
  • TableView cannot be used – because then there would be empty space under buttons.
  • If I enter a new line between buttons – then text starts wrapping only around second button.
  • There is a possibility, that I add a bit text between both buttons, but then I need to calculate precisely how much text should be cut out of main text keeping in mind that font can change etc.

P.S. (for easier helping)
I am testing the code on this site:w3schools

Thank You in advance.

  • 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-06-06T10:50:34+00:00Added an answer on June 6, 2026 at 10:50 am

    You can put them both in a 30px wide <div> and float the <div> right.

    Demo: http://jsfiddle.net/ThinkingStiff/GdpNv/

    Output:

    enter image description here

    HTML:

    <div id="buttons" style="float:right;width:30px;">
        <a href="http://link" target="_blank">
        <div>
        <img class="imageTable" width="30" height="30" src="http://www.google.com/intl/lv/services/hp/images/safari-gear.png"/>
        </div> </a>
    
        <a href="http://link" target="_blank">
        <div>
        <img class="imageTable" width="30" height="30" src="http://www.google.com/intl/lv/services/hp/images/safari-gear.png"/>
        </div> </a>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Clean URLs seem pretty simple but I'm in need of a special situation. I
The situation is very simple, I have two panel. In the event of OnMouseOver
I'm in a situation in which I need to use .wrap and :first-child. This
I have quite a simple situation. I've got 3 objects: an object called TrainingConsultant
Simple situation. An existing project will need authentication and authorization and I need to
Simple situation(VS2005, .NET2): I have a textBox1 on a panel1. I need to track
I have a situation where I need to find 2 groups in some text
This seems like it should be simple but I can't work out how to
I have a simple situation where I have two entities related with Many-To-Many relationship.
This should be relatively simple, here is my situation; I have copied the trunk

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.