rotate a HTML table?

11/12/2007 - 05:12 von Zhang Weiwu | Report spam
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<p>This is probably OT but I don't know where to ask this question. At
least in nvu it seems rotate of an HTML table is not possible.<br>
</p>
<p>How is it possible to rotate an HTML table 90 degree? for example,
the following table has too many columns:<br>
</p>
<table style="text-align: left;" border="1" cellpadding="4"
cellspacing="0">
<tbody>
<tr>
<td
style="text-align: right; font-weight: bold; background-color: yellow;">Location:</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;"
colspan="3" rowspan="1">Users located in China</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;"
colspan="3" rowspan="1">Users located in Europe</td>
</tr>
<tr>
<td
style="text-align: right; font-weight: bold; background-color: rgb(255, 255, 153);">Type:</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">visitors</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">subscribers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">maintainers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">visitors</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">subscribers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);">maintainers</td>
</tr>
<tr>
<td style="text-align: center;">%</td>
<td style="text-align: center;">?</td>
<td><br>
</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">?</td>
<td><br>
</td>
<td style="text-align: center;">?</td>
</tr>
<tr>
<td>Importance</td>
<td style="text-align: center;">very important</td>
<td>very important</td>
<td style="text-align: center;">important</td>
<td style="text-align: center;">important</td>
<td>very important</td>
<td style="text-align: center;">less important</td>
</tr>
<tr>
<td style="text-align: center;">Remarks</td>
<td style="text-align: left;">Fast
access would be helpful for daily work (address for taxi, telephone
number etc.). If everybody in an office relies on GIC for his contact
matters this would be a good reputation.</td>
<td>They WANT a fast
access, otherwise they won't be happy. As long as there is no other
comparable system, this is not a big problem, but it might become a
problem very soon if the speed won't be improved.</td>
<td style="text-align: left;">Slow
access might have bad consequences in regard to data quality (because
the maintenance would be bad). I think it don,t have to be very fast,
because this task doesn,t happen so often. And it only happens to a few
people.</td>
<td style="text-align: left;">The prefer a fast access, but
I think they appreciate a good data quality rather than fast access (at
least it would accept a slow connection if the quality is good).</td>
<td>They WANT to have a fast connection and good quality. If the
speed is to slow they will not be happy.</td>
<td style="text-align: left;">I think, a company can accept a
slow access for maintenance if they want to maintain the contact from
Europe.</td>
</tr>
</tbody>
</table>
<p>but the mistake is only discovered after we finished this table, so,
now I wish to turn it in this way</p>
<table style="text-align: left; width: 100%;" border="1" cellpadding="4"
cellspacing="0">
<tbody>
<tr>
<td style="font-weight: bold; background-color: yellow;"><br>
</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;">%</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;">Importance</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;">Remarks</td>
</tr>
<tr>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);"
colspan="1" rowspan="1">Type</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);"
colspan="3" rowspan="1">Users located in China (type)</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">visitors</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">very important</td>
<td style="text-align: left;">Fast
access would be helpful for daily work (address for taxi, telephone
number etc.). If everybody in an office relies on GIC for his contact
matters this would be a good reputation.</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">subscribers</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">very important</td>
<td style="text-align: left;">They WANT a fast
access, otherwise they won't be happy. As long as there is no other
comparable system, this is not a big problem, but it might become a
problem very soon if the speed won't be improved.</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">maintainers</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">important</td>
<td style="text-align: left;">Slow
access might have bad consequences in regard to data quality (because
the maintenance would be bad). I think it don,t have to be very fast,
because this task doesn,t happen so often. And it only happens to a few
people.</td>
</tr>
<tr>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);"
colspan="1" rowspan="1">Type</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 153);"
colspan="3" rowspan="1">Users located in Europe (type)</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">visitors</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">important</td>
<td style="text-align: left;">The prefer a fast access, but
I think they appreciate a good data quality rather than fast access (at
least it would accept a slow connection if the quality is good).</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">subscribers</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">very important</td>
<td style="text-align: left;">They WANT to have a fast connection
and good quality. If the speed is to slow they will not be happy.</td>
</tr>
<tr>
<td
style="font-weight: bold; background-color: white; text-align: left;">maintainers</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">less important</td>
<td style="text-align: left;">I think, a company can accept a
slow access for maintenance if they want to maintain the contact from
Europe.</td>
</tr>
<tr>
<td><br>
</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;"><br>
</td>
<td style="text-align: left;"><br>
</td>
</tr>
</tbody>
</table>
<p>The best would be my HTML editor (nvu) support it natively, but it
doesn't, so what do you know any of the software that can help me
rotate this table? I did it manually this time but I had this
problem for years and wish to know if there are faster solutions. I
think on this list there are many people who uses different software,
so you may have a suggestion?<br>
</p>
<p>Thanks a lot in advance. And sorry for HTML-only email, because the
topic deserve an HTML explanation.<br>
</p>
<pre class="moz-signature" cols="72">--
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 135 9950 2413
<a class="moz-txt-link-freetext" href="http://www.realss.com">http://www.realss.com</a>
</pre>
</body>
</html>
 

Lesen sie die antworten

#1 Juergen F. Pennings
12/12/2007 - 20:51 | Warnen spam
Zhang Weiwu wrote:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<p>This is probably OT but I don't know where to ask this question. At
least in nvu it seems rotate of an HTML table is not possible.<br>
</p>
<p>How is it possible to rotate an HTML table 90 degree? for example,
the following table has too many columns:<br>
</p>
<table style="text-align: left;" border="1" cellpadding="4"
cellspacing="0">
<tbody>
<tr>
<td
style="text-align: right; font-weight: bold; background-color:
yellow;">Location:</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;"
colspan="3" rowspan="1">Users located in China</td>
<td
style="text-align: center; font-weight: bold; background-color: yellow;"
colspan="3" rowspan="1">Users located in Europe</td>
</tr>
<tr>
<td
style="text-align: right; font-weight: bold; background-color: rgb(255,
255, 153);">Type:</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">visitors</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">subscribers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">maintainers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">visitors</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">subscribers</td>
<td
style="text-align: center; font-weight: bold; background-color: rgb(255,
255, 153);">maintainers</td>
</tr>
<tr>
<td style="text-align: center;">%</td>
<td style="text-align: center;">?</td>
<td><br>
</td>
<td style="text-align: center;">?</td>
<td style="text-align: center;">?</td>
<td><br>
</td>
<td style="text-align: center;">?</td>
</tr>
<tr>
<td>Importance</td>
<td style="text-align: center;">very important</td>
<td>very important</td>
<td style="text-align: center;">important</td>
<td style="text-align: center;">important</td>
<td>very important</td>
<td style="text-align: center;">less important</td>
</tr>
<tr>
<td style="text-align: center;">Remarks</td>
<td style="text-align: left;">Fast



Dear Zhang Weiwu,
I don't believe that you will get any appropriate answer in this Newsgroup
if you use html-Text. The above text shows how it is displayed in the
Newsreader of most of the participants. Better you use only
ASCII-Text-format.
Regards

Jürgen

Ähnliche fragen