Forum Moderators: not2easy
Right now, I'm trying to see if I can force text downward (right now, its only forcing the words downward)
<style type="text/css">
.vertical_hold {
font-family: Arial, Helvetica, sans-serif;
font-size: 36px;
font-weight: bold;
color: #FF0000;
float: left;
width: 38px;
}
</style>
<div class="vertical_hold">there is something funny here </div>
--------------
<Test results>
NOPE, I can't get it to work on the words, only if i encase each letter in its own div like so:
<div class="vertical_hold">t</div>
<div class="vertical_hold">h</div>
<div class="vertical_hold">e</div>
<div class="vertical_hold">r</div>
etc . . .
So, that will work, but its a bit of work if you don't know regular expressions . . . .
perhaps another CSS guru can help here . . .
Patrick Elward
afficionado is right CSS3 proposal.. [w3.org] but whether that even comes to fruition or not is another story..
M$ has something close [msdn.microsoft.com] but it's still not possible to get the effect desired without a lot of spans, divs and floats..
Here's my go.. with as little code as I could muster!
<style type="text/css" media="screen">
pre {
margin: 0;
padding: 0;
font: bold 20px georgia, serif;
}
</style>
</head>
<body>
<div style="width: 28px; float: left; border: 1px solid #000; text-align: center;">
<pre>
s
o
m
et
e
x
t
</pre>
</div>
<p>and then put the rest of your content here..</p>
</body>
good ol' <pre> :)
Suzy