The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

how to solve displacement in rotating cell in table?

  • # January 24, 2013 at 2:19 am

    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](

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