Vertical Text using CSS - Mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradheepayyanar
    New Member
    • Jun 2006
    • 12

    Vertical Text using CSS - Mozilla

    I need a table header with text aligned vertically. I wrote a css and it works fine with IE, but mozilla doesn't support that. Is there any other way that we can represent vetical text?

    Code i have used:
    Code:
    .verticaltext {
    writing-mode: tb-rl;
    filter: flipV flipH;
    }
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    Mozilla doesnt support vertical text using css, from what i can tell.
    You're better off making an image, using paint or something

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      Have a look at Stuart Nicholls site, dedicated to CSS. One of the samples is a vertical unordered list, also for Mozilla.



      Ronald :cool:

      Comment

      • austincollins
        New Member
        • Oct 2007
        • 2

        #4
        you can display text rotated at 90 degrees using a combination of css and svg in all major browsers. you can use css for ie, and for firefox and opera use svg. see my post http://www.thescripts.com/forum/thread721811.html

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          Originally posted by austincollins
          you can use css for ie, and for firefox and opera use svg.
          I'm glad you pointed that out. Only modern browsers can use SVG but not IE.

          Also, the CSS, in the original post, is not standard CSS and only works in IE.

          Comment

          • e9500368
            New Member
            • Nov 2007
            • 1

            #6
            Originally posted by drhowarddrfine
            I'm glad you pointed that out. Only modern browsers can use SVG but not IE.

            Also, the CSS, in the original post, is not standard CSS and only works in IE.
            It seems to be standard CSS3:
            http://www.w3.org/TR/2003/CR-css3-text-20030514/#Progression

            Comment

            • drhowarddrfine
              Recognized Expert Expert
              • Sep 2006
              • 7434

              #7
              That is obsolete and has been replaced by this one.

              Comment

              • scottgale
                New Member
                • Mar 2010
                • 1

                #8
                Pure CSS vertical text

                Here is my method for pure CSS vertical text: http://scottgale.com/blog/css-vertical-text/2010/03/01/

                Works in FF, IE, and Webkit (Safari/Chrome)

                Comment

                Working...