Info
- 5 posts
- 4 voices
- Started 5 years ago by User1
- Latest reply from fel64
- This topic is not resolved
Text going over the border
-
- Posted 5 years ago #
How do i fix this this problem text going over the border of the div layer.
http://img267.imageshack.us/my.php?image=textrf0.jpg -
- Posted 5 years ago #
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; } -
- Posted 5 years ago #
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. -
- Posted 5 years ago #
if you have a really long link it's a problem :/
I have that problem actually..
-
- Posted 5 years ago #
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.
-
You must log in to post.