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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:48:13+00:00 2026-06-09T21:48:13+00:00

I have the following: <td rowspan=3; class=outer; color=green><div classinner></div></td> CSS: .in{ text-align:center; -webkit-border-radius:8em; font-size:25px;

  • 0

I have the following:

<td rowspan="3"; class="outer"; color="green"><div class"inner"></div></td>

CSS:

.in{
text-align:center;
-webkit-border-radius:8em;
font-size:25px;
height:120px;
width:120px;
vertical-align:middle;
}

td{
text-align:center;
padding:0px;
height:100%;
overflow:hidden;

I am trying to produce a circle inside a div which is inside the td. I dynamically (ajax) add text (a number) to the div. So essentially I want a Circle with a number in the centre. The problem is that the text is always at the top of the circle and not in the centre.

Help appreciated, 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-06-09T21:48:15+00:00Added an answer on June 9, 2026 at 9:48 pm

    Try adding line-height:120px; to your .in class

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

Sidebar

Related Questions

I have following html codes <div align=center style=width:1000px;border:1px solid green;> <div style=border:1px solid red;float:left;
I have following CSS: table tbody tr:last-child td { padding-top: 7px; border-bottom: 0; }
I have the following border in XAML: <Border Grid.Column=0 Grid.ColumnSpan=3 Grid.RowSpan=3 CornerRadius=1,1,1,1 Background=Red BorderBrush=#333333
I have this table: With the following code: <table border=1 id=comparativa> <tr> <td rowspan=2></td>
I have following elements in the page: <div class=cl1 cl2></div> <div class=cl1 cl2></div> <div
I have following div in a page (I can not modify). <div id=:0.control>Click me</div>
I have following code working nicely on all browsers but IE 7... <script type=text/javascript>
I have following codes in asp.net: <asp:dropdownlist id=ddlApp runat=server /> <asp:button id=btnSmt runat=server Text=Submit
I have following HTML table: <form method=post action=update-table.php> <table class=table-data style=width: 960px;> <thead> <tr>
I have the following controls in xaml: <Canvas Height=500 Width=500 Name=canPreview VerticalAlignment=top Grid.Row=1 Grid.RowSpan=3

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.