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

[Solved] Wrap text

  • # February 8, 2010 at 4:10 pm

    Oddly enough, i’ve never had to deal with this issue but the text in my div does not wrap. Text has always wrapped no problem so i’m kinda confused. I’ll keep doing some research but if anyone know whats going on please let me know.


    background: transparent url(images/newsNotecard.png) no-repeat top left;
    cursor: pointer;
    height: 304px;
    position: relative;
    text-align: center;
    width: 468px;
    z-index: 700;

    height: 304px;
    margin: 0 auto;
    padding: 62px 10px 10px 10px;
    text-align: left;
    width: 420px;


    # February 8, 2010 at 4:13 pm


    # February 8, 2010 at 5:09 pm

    Face palm because you figured it out?

    If you haven’t, it’s because it’s just one long word. Break up all of those W’s into different segments, and you will see it will wrap!

    # February 8, 2010 at 5:17 pm

    Yeah, I figured it out. After I posted the question it dawned on me. :oops:

Viewing 4 posts - 1 through 4 (of 4 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