473,386 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

import html table with rotated headers in excel

I have a html-document with a table that has rotated columnheaders. The css I use for the rotated headers is listed below. -webkit and -moz dot the trick for webkit and mozilla browsers. writing-mode + filter is for IE

It works fine in the browser but importing the html in Excel drops the text-rotation

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <Style>
  4. .rotate {
  5.   -webkit-transform: rotate(90deg); 
  6.   -moz-transform:rotate(90deg);
  7.   writing-mode:tb-rl;
  8.   filter: flipv fliph;
  9.  
  10.   height:300px;
  11.   width:20px;
  12.   vertical-align:bottom; 
  13.   background-color:red;
  14. }</style>
  15. </head>
  16. <body>
  17. <table>
  18. <tr>
  19.     <Td class="rotate">Col #1</td>
  20.     <Td class="rotate">Col #2</td>
  21.     <Td class="rotate">Col #3</td>
  22. </tr>
  23.  
  24.  
  25. </body>
  26. </html>
  27.  
Nov 25 '10 #1
0 1211

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: A P | last post by:
Is this possible? I am planning to export data from SQL that generates HTML table. Instead of selecting the table and then copy then paste to word, I need a script(JS or VB) that will...
2
by: Kathy Burke | last post by:
Hi again, I have a datagrid which uses several fields such as: <asp:BoundColumn DataField="DateEntered" HeaderText="Date Entered" SortExpression="DateEntered"></asp:BoundColumn> All works...
2
by: raman.p123 | last post by:
HI.. My name is Raman I am the beginner in using DTS Import facility. Can any one help me how to update the table while importing the Execl file using DTS import wizard I imported an Excel Files...
6
by: McKirahan | last post by:
I an using ASP to read a database table and generate an HTML table which is save via FSO with a file extension of .xls which opens up in MS-Excel. I am inserting several lines of text into a cell...
4
by: McGowan | last post by:
Hi, I'm trying to display data from a mysql database in a HTML table but for some reason my code isn't working. At the moment I have got it to read and display the headers and the first row of the...
5
by: =?Utf-8?B?c2NobWlkdGU=?= | last post by:
Hi How can I Export an HTML Table to excel? My goal is a button, and when the user clicks this button a popup appears asking the user to 'open' or 'save' the generated Excel file. Actually...
17
by: Grant Kelly | last post by:
I'm wondering if it's possible within HTML markup (or possibly CSS) to specify that an HTML table's headers should be placed 'over' the cell borders rather than 'within' the cells. For example...
7
by: petr.jakes.tpc | last post by:
Hi group, I would like to convert the output of the SQL query, or more generally I would like to convert any "table" data to the html table. I would like to set some rules to format cells,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.