473,404 Members | 2,213 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,404 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 3016
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.