...

View Full Version : Text Directions



Guardian23
08-06-2002, 11:07 AM
This is a very general question (by this I mean that the answer doesn't have to fit like a glove):

Once, on WebFX or JSFx (I can't remember which), I saw a
string of text--not an image--that otherwise was just that,
except for the fact that it was positioned lenghtwise (think 90
degree rotation).

Needless to say, this shocked me, but it also got me thinking:
What if this could be done with images and scrolling text? What
if you could rotate it at angles under 90 degrees?
(Sounds interesting--Redundant yes--but nonetheless, interesting).

Which brings around my question:
How was it done?

I checked the source code, but there wasn't anything
unusual, because I don't actually remember a link to a
Stylesheet, and the text was highlightable......

Thanks,
Guardian23

glenngv
08-06-2002, 11:22 AM
<div style="position:absolute;height:20px;width:20px;left:0;top:0">T</div>
<div style="position:absolute;height:20px;width:20px;left:0;top:25">E</div>
<div style="position:absolute;height:20px;width:20px;left:0;top:50">X</div>
<div style="position:absolute;height:20px;width:20px;left:0;top:75">T</div>

Guardian23
08-06-2002, 11:34 AM
Thanks, it's close, but the text actually is rotated.

Guardian23
PS.
If (possible)
{flip screen sideways}
else
{rotate head}
I meant that to be humorous *frowns*


as such:

"---"
from==>into
|
|
|

glenngv
08-06-2002, 11:36 AM
of course, i just put up an example, you could change (programmatically) the top and left properties to any coordinates

nolachrymose
08-06-2002, 03:10 PM
This effect is done at WebFX. They used IE-only filters to accomplish the efffect. Here is the code segment from their CSS file:


#webfx-about {
position: absolute;
background: white;
top: 102px;
right: 10px;
width: 20px;
writing-mode: tb-rl;
filter: flipH() flipV() alpha(opacity=50);
}

There is no copyright notice on their page I can find, but I suggest you add it to your stylesheet regardless.

Hope that helps!

Happy coding! :)

Guardian23
08-06-2002, 03:31 PM
:eek:
I must of overlooked it!

Thanks,
Guardian

PS: I'll be sure to add a note that it came from WebFx until I
figure out the exact principle and figure out how to do it myself,
at which point I'll merely add a reference to it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum