All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed