Grow your CSS skills. Land your dream job.

how to solve displacement in rotating cell in table?

  • # January 24, 2013 at 2:19 am

    http://jsfiddle.net/sG5Sb/12/

    check out this.when i press the button text is rotating but not wrapping.i write

    white-spacing :pre-line;
    but it doesn’t work.thanks

    # January 24, 2013 at 3:10 am

    The problem here is the length of the words. Since you probably aren’t going to be using words as long as dddddddddddddddddd in your real site, perhaps it doesn’t matter.

    If it is still a problem, however, you could add the `hypens: auto` rule to your CSS (with `-webkit-`, `-moz-`, and `-ms-` prefixes). You can find documentation on CSS hyphens [here](https://developer.mozilla.org/en-US/docs/CSS/hyphens).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".