Grow your CSS skills. Land your dream job.

css font

  • # October 14, 2012 at 1:23 pm

    how to fix the text-width?
    http://www.part.lt/img/22130307517d7ccdf6565c8a4a59f932599.PNG

    I tried the width: 256px; but doesn’t work.

    # October 14, 2012 at 1:29 pm

    We’d need to see the full HTML/CSS

    # October 14, 2012 at 1:35 pm

    Like this: http://jsfiddle.net/kU2Ey/

    how to do when printing the text.

    text: saddddddddddddddddadasdsadadadadadasdasdasdsadasad

    with css to do that would be like this:

    text:
    saddddddddddddddd

    dadasdsadadadadada

    sdasdasdsadasad

    # October 14, 2012 at 1:38 pm

    I know what you are trying to achieve but without knowing the structure and styling we can’t help.

    # October 14, 2012 at 4:12 pm

    What @Paulie_D said.

    # October 14, 2012 at 4:16 pm

    Maybe try:

    element.class {
    text-overflow: scroll;
    }

    Or maybe text-overflow-x: scroll;

    You could also try (for both) auto instead of scroll. It depends on tons of other stuff, though.

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

You must be logged in to reply to this topic.

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