I don’t know. Thanks to anyone who could bring the relevant specs.
I thought so, but after searching, reading, trying many ways of writing the implied code, I found no way to do it; if you can do it, please post the exact code that worked (including defining the character set if necessary)! TIA,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd](http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)">
<head>
<style type="text/css">
body{margin:0;
padding:0;
background:white;}
.verticaltext1{position:relative;
top:200px;
margin-left:125px;
width:1px;
height:100%;
font-weight:bold;
color:red;}
.verticaltext2{position:relative;
top:-408px;
left:150px;
width:1px;
height:100%;
font-weight:bold;
color:blue;}
</style>
</head>
<body>
<div class="verticaltext1">
V E R T I C A L
</div>
<div class="verticaltext2">
L A C I T R E V
</div>
</body>
</html>
If it doesn’t work for you, I would be at a lose as to why not, as it works fine for me.
That’s why I don’t understand why just one works. As I reported, there are dozens pages showing writings at +90° clockwise (thus Top-to-Bottom), and your code is just one more; so far I found just one example of -90° (Bottom-to-Top), but I didn’t understand the example well enough to reproduce it. If ever you can, thanks to enlighten me!
That example was case (5), part “t-s1”, in W3’s 7.27 Writing-mode-related Properties, that I tried (adapted) in my test #10 (reported 21:20:00 +0100 above, 2nd bold dot).
[indent][indent]L A C I T R E V
[/indent][/indent][indent]V E R T I C A L
[/indent]Paris, sam. 26 mars 2005 22:31:00 +0100
edited (trying - and failing - to remove undue vertical spaces) 22:40:00
Thanks all4nerds for your sreen dump, it makes things much clearer (and my apology for not doing what I requested from others… )
In my OE6, as well as in my IE6 (both quite up to date - in FR versions, but this shouldn’t make a diff… or does it?), the 2 lines are the same direction, Top-to-Bottom. So your post makes things much clearer: I must have something wrong in my system. This is a new Notebook, bought 14 Dec 2004 (This is why I haven’t my screen capture at hand), WXPHome FR SP2, apparently quite OK.
Sorry I didn’t explain better - and thanks again to all4nerds for his screen dump, which made things much clearer! and thanks to you as well for your continuous tries on that question - that seems rather hard to me.
I make an HTML file, named “jetaime_B-to-Top.htm”, containing exactly all4nerds’s code of 22:10 +0100, entire and inaltered, with nothing added or removed or changed.
I double-click that file in Windows Explorer, which opens it in a new IE window. I can see the 2 lines are in the same direction, Top-to-Bottom. But I didn’t pay attention to the IE Information Bar at the top of that IE window, notifying me that « an active contents has been blocked »; if I click and chose to allow that active contents, then click “Yes”, then at once the 2nd line flips to Bottom-to-Top, while the 1st line remains Top-to=Bottom.
Unfortunately the same fails in DocType’s VERTICAL test, as well (or as bad in that case!) as in my tests above (#10 in particular).
Don’t you just love browser options, even if you do figure out how to do something like vertical text, the user can still have it disabled.
If you use an image to display vertical text they can have images turned off.
If you use JavaScript to display vertical text, they could have JavaScript disabled.
You could write a bit of JavaScript to detect if they have the method you’re using disabled, and pop up an alert asking them if they want to enable it, and turn it on if they select “yes”.
Or turn it on when the page loads without asking, which might be considered rude.
It’s a hit or miss proposition, for the most part.
Most people will be able to see your affect, as long it, not displaying for those who have your method disabled, doesn’t wreck your layout, then you’re good to go.
It’s a good idea to test your page/s in different browser, with all those options disabled to see how it affects your page.
It takes some extra time, but it’s worth it in the long run.
Following DocType’s recall of trying to work anywhere without hurdle, I tried to simplify it. The 2 lines have now different texts (easier to understand); streamlining the details.
Thanks idevil_himslf for replying, and sorry for not having everything in mind or at hand right now (one year and 2 computers later…). But I had tried this (I think I reported it, but haven’t time to check all above right now), it “worked” (that is, for some undemanding people), I used it in a few private documents, but it didn’t really work reliably, for instance:
[list]
[]in one PC/OS/browser (W2K) it would display in +90° as I wanted, but print in -90°;
[]in another PC/OS/browser (WXPSP2), as reported sam. 26 mars 2005 23:38:10 +0100 above, it would first display in the wrong direction (-90°) with the IE Information Bar at the top of that IE window notifying me that « an active contents has been blocked », and display correctly only after I click that IE Information Bar (and then again it would print in the wrong direction).
[/list]All this doesn’t fill my need:
[list]
[]when reading a book or a newspaper article, I don’t expect to have to turn the material +90° or -90° or upside-down, or to turn another page, to get able to read it comfortably;
[]so in 2006 (internet year 13), when writing a web page, I don’t expect others to have to turn it +90° or -90° or upside-down, or to click another bar, to get able to read or print it comfortably and correctly.
[/list]Paris, Mon 20 Mar 2006 12:17:35 +0100