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

  • Home
  • SEARCH
  • 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 6370419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:55:40+00:00 2026-05-25T00:55:40+00:00

I created a html page where I want to show some charts. For every

  • 0

I created a html page where I want to show some charts. For every chart I wrote text.
The chart is in a div, and the text is in a separate div although they belong to eachother.

When my window is small, the charts show in a vertical line under eachother which is ok. When the window is large, the divs are shown horizontal although the text and chart are separate. A picture will clearify what I am trying to explain:

The charts at the left are shown when the window size is small, the charts on the right is shown when the window size is largeenter image description here

I would like the text and chart toghether as one if that is possible? Thanks for your help and effort :).

EDIT:
Examplecode:
<table><tr><td><div style="text-align: center;" class="span-5" >New sales orders versus previous year (100%)</div>
<div id="ordcountVsPreviousYearDialChart_Object" class="span-3"></div> </td></tr></table>

For each of the charts its the same.I am using only 1 table 1 tr and 1 td. I am not using a css. The answer you gave makes me think of creating an inline css. I will try your solution. Thanks so far!

  • 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-25T00:55:40+00:00Added an answer on May 25, 2026 at 12:55 am

    You can use the following code (look at fiddle — http://jsfiddle.net/kizu/tNwAU/)

    <span style="display:inline-block;text-align: center;" class="span-5">
        <span style="display:block;">
            New sales orders versus previous year (100%)
        </span>
        <span id="ordcountVsPreviousYearDialChart_Object" class="span-3"></span>
    </span>
    

    There are inline-blocks, so they would always create lines of blocks, and they are better than floats for your case in many ways.

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

Sidebar

Related Questions

In html page some tags are dynamically created using jquery and contents are loaded
I want a WYSIWYG html editor to create a static web page. After some
I want to show some news posts on the front page of a website.
I want to create a html page that get data from a website table
I've created a HTML page to enter data to a MySQL database. I've embedded
I had created one HTML page for my experiance. In this i had use
I have created a html page in php and upon submission i validates that
Ive created a function which returns all the obserables items in my html page.
I created in php starting with file_get_content to load a HTML page, parse to
I have created a small div on top of the page that contains a

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.