Skip to:
Content
Pages
Categories
Search
Top
Bottom

Text going over the border

Viewing 4 replies - 1 through 4 (of 4 total)

  • chrishajer
    Participant

    @chrishajer

    Are your words really that long? I know long words will do that, but with shorter length words, they wrap normally, normally.

    Do you have an example with real, not fake, text? Or an example URL where one can see the actual layout and CSS being used?

    Maybe you can do something like this in the CSS:

    .post {
    overflow-x: hidden;
    overflow-y: hidden;
    }

    chrishajer

    thanks this works. When the text is space out it wraps the text not the long text words but this seem to work good.


    flaerpen
    Member

    @flaerpen

    if you have a really long link it’s a problem :/

    I have that problem actually..

    Chrishajer, a neater version of your code is:

    .post {
    overflow: hidden;
    }

    I suspect although I haven’t tried it. :)

    What I use is

    .post {
    overflow: auto;
    }

    which annoyingly is not the automatic setting … what it does is wrap text normally unless text/links are really long, in which case it displays a scroll bar at the bottom of the post. Works a treat for images, too. :) Also good for code which isn’t wrapped.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.