By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,447 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,447 IT Pros & Developers. It's quick & easy.

text direction

P: n/a
Anyone know of a way I can have text going from top to bottom but have
the letters still around the normal way as fi it were running from
left to right.. like:
t
h
i
s
I know how to do it tb-lr but not tb-tb

Flamer.

Mar 1 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
In article
<11**********************@t69g2000cwt.googlegroups .com>,
"flamer di******@hotmail.com" <di******@hotmail.comwrote:
Anyone know of a way I can have text going from top to bottom but have
the letters still around the normal way as fi it were running from
left to right.. like:
t
h
i
s
Text is not something that has laws about it made in heaven, it
is not something pronounced upon in the bible or otherwise
something that is in a bubble of iron clad laws. In illustrator
it is dead easy to do what you want because there is a specific
tool dedicated to this. In MT-NewsWatcher, you would have more
chance of surviving a one story fall with some injury than find
an auto way to do this.

Can you narrow down your question to an app perhaps?

--
dorayme
Mar 1 '07 #2

P: n/a
In article
<do**********************************@news-vip.optusnet.com.au>,
dorayme <do************@optusnet.com.auwrote:
In article
<11**********************@t69g2000cwt.googlegroups .com>,
"flamer di******@hotmail.com" <di******@hotmail.comwrote:
Anyone know of a way I can have text going from top to bottom but have
the letters still around the normal way as fi it were running from
left to right.. like:
t
h
i
s

Text is not something that has laws about it made in heaven, it
is not something pronounced upon in the bible or otherwise
something that is in a bubble of iron clad laws. In illustrator
it is dead easy to do what you want because there is a specific
tool dedicated to this. In MT-NewsWatcher, you would have more
chance of surviving a one story fall with some injury than find
an auto way to do this.

Can you narrow down your question to an app perhaps?
Sorry, wrong group, thought you were in another group about a
particular OS and its apps. Honest. I withdraw all of the above
and unreservedly apologise.

As penance I looked about and you could look at:

<http://www.cssplay.co.uk/menus/vertical.htmlas starter

--
dorayme
Mar 1 '07 #3

P: n/a
Scripsit di******@hotmail.com:
Anyone know of a way I can have text going from top to bottom but have
the letters still around the normal way as fi it were running from
left to right.. like:
t
h
i
s
Not in CSS, but this is dead simple in HTML:
t<br>h<br>i<br>s

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Mar 1 '07 #4

P: n/a
Jukka K. Korpela wrote on 01 mrt 2007 in
comp.infosystems.www.authoring.stylesheets:
Scripsit di******@hotmail.com:
>Anyone know of a way I can have text going from top to bottom but have
the letters still around the normal way as fi it were running from
left to right.. like:
t
h
i
s

Not in CSS, but this is dead simple in HTML:
t<br>h<br>i<br>s
or javascript:

<script type='text/javascript'>

function vertical1(t){
return t.replace(/(.)/g,'$1<br>');
};

function vertical2(t){
return t.split('').join('<br>')+'<br>';
};

document.write (vertical1('This text'));
document.write ('<hr>');
document.write (vertical2('That text'));

</script>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 1 '07 #5

P: n/a
On Thu, 1 Mar 2007, Jukka K. Korpela wrote:
Not in CSS, but this is dead simple in HTML:
t<br>h<br>i<br>s
However, this is never recognized as a word ("this") by browsers
(double click on words!), search engines, etc. It is equivalent
to four separate letters ("t", "h", "i", "s"). In fact, search
engines seem to regard <brlike <p>, i.e. you cannot even
search for "t h i s".

In a similar fashion, "siht" is not recognized as the word "this"
whereas <bdo dir=rtl>this</bdois still the word "this"
even when displayed as "siht".

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Mar 1 '07 #6

P: n/a
Scripsit Evertjan.:
>Not in CSS, but this is dead simple in HTML:
t<br>h<br>i<br>s

or javascript:
In this case, using JavaScript produces a more robust result, since the
content has "this" as a single word, for search engines and non-JavaScript
browsing.

There's also a tricky CSS way, which works on IE:

<div style="width: 1px; word-wrap: break-word">this</div>

(word-wrap: break-word means breaking strings at any point to make the
content fit into the defined with, and width: 1px prevents IE from trying to
put more than one character per line)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 1 '07 #7

P: n/a
In article <z%*****************@reader1.news.saunalahti.fi> ,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
There's also a tricky CSS way, which works on IE:

<div style="width: 1px; word-wrap: break-word">this</div>
And, oddly enough, in Safari (but no other Mac browsers I know of)

--
dorayme
Mar 1 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.