467,074 Members | 892 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

Text orientation in table cell?

Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html

The page uses <br> to break each letter
of the word. I was sure there must be
a CSS way to change the text orientation
if a table cell, but a google of ciwah
for orientation+td+text did not reveal
any hits.

Thoughts, comments, search terms?

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Jul 20 '05 #1
  • viewed: 20700
Share:
6 Replies
On Fri, 20 Feb 2004 14:46:07 GMT, Andrew Thompson <Se********@www.invalid>
wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html


If a speech reader were to read the page, it would have to spell out the
planets. You could use an aural CSS to solve that dilemma, however.

Another problem I see is spider indexing.
Jul 20 '05 #2
Neal wrote:
On Fri, 20 Feb 2004 14:46:07 GMT, Andrew Thompson
<Se********@www.invalid> wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html
If a speech reader were to read the page, it would have to spell out
the planets. You could use an aural CSS to solve that dilemma,
however.


Thanks. I'll have to look into that.
I have only just introduced a print
stylesheet, so new it is not even
validated yet..
[ oops, did I say that? ;-) ]
Another problem I see is spider indexing.


Oh, yeah, the proverbial 'gonna'..
I am gonna replace the less than
helpful "" alt texts of the image bars
to "label - value" (on the suggestion
of folks right here, ..long, long ago -
at least a month).

OTOH the page will be generated
dynamically (jsp), so there is not
a great opportunity for spiders
in any case ..unless they spider
particular complete URL's, which
would form a self contained page..
(wanders off ..muttering).

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Jul 20 '05 #3
Andrew Thompson wrote:
Neal wrote:
Andrew Thompson
wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html
.... Another problem I see is spider indexing.
Oh, yeah, the proverbial 'gonna'..
I am gonna replace the less than
helpful "" alt texts of the image bars
to "label - value".


Done. *
...the page will be generated
dynamically (jsp),


* http://www.physci.org/test/graph/

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Jul 20 '05 #4
DU
Andrew Thompson wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html

The page uses <br> to break each letter
of the word. I was sure there must be
a CSS way to change the text orientation
if a table cell, but a google of ciwah
for orientation+td+text did not reveal
any hits.

Thoughts, comments, search terms?

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology


writing-mode Attribute
"tb-rl Content in the object flows vertically—from top to bottom, right
to left. The next vertical line is positioned to the left of the
previous line. Wide-cell glyphs are positioned upright; nonwide-cell
glyphs—also known as narrow Latin or narrow Kana glyphs—are rotated
90-degrees clockwise. This layout is used in East Asian typography."
http://msdn.microsoft.com/workshop/a...ritingmode.asp

I tested it under MSIE 6 SP1 for windows and it worked well.

CSS3 Text module (Candidate Recommedation): writing-mode
http://www.w3.org/TR/2003/CR-css3-te.../#writing-mode

For a cross-browser solution, writing-mode is not recommendable. Not
sure if using <br>'s is the best. I would try something else...

DU
Jul 20 '05 #5
"Andrew Thompson" wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
displayed here in the planetary labels..
http://www.physci.org/test/graph/imgresize.html

The page uses <br> to break each letter
of the word. I was sure there must be
a CSS way to change the text orientation
if a table cell, but a google of ciwah
for orientation+td+text did not reveal
any hits.
I remember this was asked back in July, 2002.
Thoughts, comments, search terms?


vertical+slick
Jul 20 '05 #6
Karl Smith wrote:
"Andrew Thompson" wrote:
Is there a way to achieve (or a good
reason not to) the 'vertical text' effect
.... I remember this was asked back in July, 2002. .... vertical+slick


Thanks, that gives me some ideas to chew
over.. The best solution I have read so far is
yours to 's p a c e..' the letters, I think that,
with a fixed width font could do what I need.

[ BTW - like your PToE.
And.. no better way to prove
you were serious! ;-) ]

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology


Jul 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chris Coho | last post: by
3 posts views Thread by Thomas Mlynarczyk | last post: by
3 posts views Thread by jez123456 | last post: by
1 post views Thread by Thanks | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.