Is there a way to orient text vertically?

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Is there a way to orient text vertically?

    Is there a way to orient text vertically? (As in rotating normal text 90
    degrees). I have an html table populated by narrow columns and need vertical
    headings to fit inside the columns. Can coldfusion, html, or java script
    orient text vertically?

    Thank you


    wolfv Guest

  2. Similar Questions and Discussions

    1. Align Text Vertically
      I'm learning on v IN 1 tryout. I fear most of you larned on a CS version but anyway heres my question. I do NOT see a vertical alignment option...
    2. Datagrid - how to vertically center text in a cell
      By default, the datagrid will display data in the vertical center of each cell, but when I apply the htmlCellRender all the data appears at the top...
    3. skewing text vertically on a path
      I'm (still) using AI 8.1 and frequently put text on a curved path. This is no problem, but occasionally I want to skew the text vertically along the...
    4. Centering text vertically in a text block
      I just bought Freehand MX 11 for Mac OS X and from using it back in the mid 1990s I could have sworn you could center text vertically in a text...
  3. #2

    Default Re: Is there a way to orient text vertically?

    well, i don't have an exact answer for you, but what you could do is try to
    break the title into an array, then loop through the array putting a breakline
    after each iteration of the loop, therfor causing a verticle orientation. So
    basic steps are
    1) Get the whole word
    2) Find a way to break the word down letter by letter
    3) loop through the word breaking line after each iteration.

    Sorry I can't be more exact cause i can't think of the exact functions im
    looking for here, but either way maybe that helps a little, sorry if it
    doesn't. Good luck man.

    kenji776 Guest

  4. #3

    Default Re: Is there a way to orient text vertically?

    The last time I checked, it could be done with CSS, but only worked in IE. A fall-back is resorting to the ugly <br> hack.

    <table><tr><td>V<br>A<br>L<br>I<br>G<br>N</td></tr></table>
    mxstu Guest

  5. #4

    Default Re: Is there a way to orient text vertically?

    yeah, the <br> way isn't pretty, but at least it works...
    kenji776 Guest

  6. #5

    Default Re: Is there a way to orient text vertically?

    Ooops, I didn't see your first response until after I posted.

    True, but the output is consistent in other browsers. I guess we'll have to see what happens with CSS3.
    mxstu Guest

  7. #6

    Default Re: Is there a way to orient text vertically?

    Which CSS attribute orients text vertically? A CSS IE-only solution would be perfect. The page is for internal use, and my company uses IE.

    Thank you for your responses.
    wolfv Guest

  8. #7

    Default Re: Is there a way to orient text vertically?

    It's "writing-mode" plus a filter. This link has an [url]http://www.ssi-developer.net/css/vertical-text.shtml[/url]. You can also google for "CSS vertical text" and there are many more.
    HTH
    mxstu Guest

  9. #8

    Default Re: Is there a way to orient text vertically?

    Thank you mxstu. This writing-mode will work great.
    wolfv Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139