472,958 Members | 2,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Need Help: Side Ways Text?

Hi All,

So here's the thing... I program a website that generates reports. Those reports are often columns of numbers and because it's numbers, the columns don't have to be very wide. There are also lots of columns, and I'm trying to keep it from being wider than a page. The problem is the column header titles are often several words long and it stretches my columns out too much.

So I found the following style code that appears only to work in IE and not FF. It turns text sideways for me (like in Excel) so that my columns aren't too wide.

Expand|Select|Wrap|Line Numbers
  1. writing-mode: tb-rl;
  2.  
It works for the most part... it rotates it clockwise instead of counter-clockwise but people get used to it. But it doesn't work in Firefox at all. Further, when I try and print it in IE it does weird things... like create page breaks where it shouldn't.

I need to use text and can't just use Graphics since this web page has a translation table that translates into a few other languages... if I do graphics, I'll have to find a way to constantly maintain those graphics.

Ideas would be most appreciated. Thanks!
Oct 5 '07 #1
3 3002
Death Slaught
1,137 1GB
Hi All,

So here's the thing... I program a website that generates reports. Those reports are often columns of numbers and because it's numbers, the columns don't have to be very wide. There are also lots of columns, and I'm trying to keep it from being wider than a page. The problem is the column header titles are often several words long and it stretches my columns out too much.

So I found the following style code that appears only to work in IE and not FF. It turns text sideways for me (like in Excel) so that my columns aren't too wide.

Expand|Select|Wrap|Line Numbers
  1. writing-mode: tb-rl;
  2.  
It works for the most part... it rotates it clockwise instead of counter-clockwise but people get used to it. But it doesn't work in Firefox at all. Further, when I try and print it in IE it does weird things... like create page breaks where it shouldn't.

I need to use text and can't just use Graphics since this web page has a translation table that translates into a few other languages... if I do graphics, I'll have to find a way to constantly maintain those graphics.

Ideas would be most appreciated. Thanks!

Sup cpuphantom, Welcome to TSDN!

Please post all of your code so we can see if the problem is there.

Also if the header is text that you put there, and is not called for, then you could use a breaking line ( <br> in HTML and <br /> in XHTML ) to move down to the next line, but that's most likley not what your looking for. ( It's rather messy as a header, well in tables at least ).

Thanks, Death
Oct 5 '07 #2
drhowarddrfine
7,435 Expert 4TB
The markup you show is non-standard and won't work in any browser but IE. There are codes to show upside-down characters but I have seen a side ways method somewhere on the 'net before but don't recall where.
Oct 5 '07 #3
Navy04
1
Hi All,

So here's the thing... I program a website that generates reports. Those reports are often columns of numbers and because it's numbers, the columns don't have to be very wide. There are also lots of columns, and I'm trying to keep it from being wider than a page. The problem is the column header titles are often several words long and it stretches my columns out too much.

So I found the following style code that appears only to work in IE and not FF. It turns text sideways for me (like in Excel) so that my columns aren't too wide.

Expand|Select|Wrap|Line Numbers
  1. writing-mode: tb-rl;
  2.  
It works for the most part... it rotates it clockwise instead of counter-clockwise but people get used to it. But it doesn't work in Firefox at all. Further, when I try and print it in IE it does weird things... like create page breaks where it shouldn't.

I need to use text and can't just use Graphics since this web page has a translation table that translates into a few other languages... if I do graphics, I'll have to find a way to constantly maintain those graphics.

Ideas would be most appreciated. Thanks!
Hi,
I am having the same issue of page breaks with the 'writing-mode' property when printing the text.Did you find any solution?

Thanks!
Mar 31 '08 #4

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

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
3
by: Mike | last post by:
Hey guys I am pulling my hair out on this problem!!!!! Any help or ideas or comments on how to make this work I would be grateful! I have been working on this for the past 4 days and nothing I do...
4
by: Adrienne | last post by:
I am the first to admit that I know bupkis about javascript, except that sometimes I need it to do something client side that I can't do server side. Anyway, here's my problem: <input...
3
by: Sunny | last post by:
Hi all, I'm creating client/server app in C# (VS. 2003). So, I need the client to call the server with some auth info (user and pass). If the auth is OK, server will do some work and will prepare...
9
by: Alan Silver | last post by:
Hello, I have some simple client-side Javascript validation that was working fine until now. For some reason (don't ask me), it has stopped working and I can't figure out why. I have switched to...
4
by: Learner | last post by:
Hello, Here is a little bit of what I am working ... I have selected Header and Side lay out for my Master Page. All my links go on the Side and the content on to the right pane. I have no...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
4
by: naknak4 | last post by:
Introduction This assignment requires you to develop solutions to the given problem using several different approaches (which actually involves using three different STL containers). You will...
4
by: adam_kroger | last post by:
BRIEF EXPLANATION: I have 6 TextBoxes named LIS1, LIS2, LIS3, ... LIS6. I want to be able to reference them using a For/Next loop and either read ot write to them. In VBA I would use something...
2
by: Danielle | last post by:
All - Thanks in advance for any help you can provide. I've been working with a GridView in Visual Basic for a long time trying to get a list of contacts and to be able to edit and delete the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.