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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:46:44+00:00 2026-06-15T11:46:44+00:00

I want to create an html table in the format below. I am not

  • 0

I want to create an html table in the format below.

enter image description here

I am not able to find a way to do it.
Can anyone help me?

  • 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-15T11:46:45+00:00Added an answer on June 15, 2026 at 11:46 am

    I don’t think you could have a fully cross-browser solution, anyway try this:

    .verticalText {
      -webkit-transform: rotate(-90deg);
      -moz-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
      -o-transform: rotate(-90deg);
      transform: rotate(-90deg);
      filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
    }
    <table border="1">
      <tbody>
        <tr>
          <td rowspan="4">
            <div class="verticalText">one</div>
          </td>
          <td>One</td>
          <td>Other</td>
        </tr>
        <tr>
          <td>One</td>
          <td>Other</td>
        </tr>
        <tr>
          <td>One</td>
          <td>Other</td>
        </tr>
        <tr>
          <td>One</td>
          <td>Other</td>
        </tr>
      </tbody>
    </table>

    In the HTML part, you use the attribute “rowspan” to tell the cell (td) to span over n rows; you have to remove the relative cell declaration in the subsequent “spanned” cell.
    The same works horizontally with the attribute “colspan”.
    Default value of such attributes is 1, and it’s implicit.

    The CSS part try to render the text vertically as seen in your image, but it’s not a CSS standard yet, so you have to try it in various browser. If you can’t achieve fully compatibility, you might be forced to render that text by image, if text is not dynamic.

    Edited HTML to include a container to text as indicated in comment.

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

Sidebar

Related Questions

I want to create a generic html table to excel file view that can
I want to create a html table with a 1pt black outer border and
I want to create a html page that get data from a website table
I want to create multiple html table pages using XML as the input and
I want to create a simple html table in grid having values like 1
For every comma inside a certain MYSQL row, I want to create x html
I want to create a ordered html list like this: 1.0 Introduction 1.1 Features
I want to create a multicolumn layout in html that will run from left
I want to create a simple Javascript program with a HTML interface. The program
I want to create a non-stop spinning square using html and css. I currently

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.