Simple CSS problem

Simple CSS problem

Post by NewVoxel on Wed Dec 26, 2012 10:18 pm
([msg=71855]see Simple CSS problem[/msg])

I feel stupid for even asking this but I can't for the life of me figure out how to make sure my text stays within a <div> element. Here's a picture of what's screwing up: Image

If you didn't see it the continuous string of ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh continues to fly off the space it's meant to stay within.

I don't know what to google to figure out this stupid problem so if someone 1337 webmaster could solve all my problems that would be awesome.

-- Thu Dec 27, 2012 2:22 pm --

Go figure the moment that I post this I figure out how to solve it.

Code: Select all
word-wrap: break-word
"Don't include a single line in your code which you could not explain to your grandmother in a matter of two minutes."

And of course... assume your grandmother is not Ada Lovelace.

http://www.newvoxel.com/
User avatar
NewVoxel
New User
New User
 
Posts: 45
Joined: Tue Oct 16, 2012 8:37 am
Blog: View Blog (0)


Re: Simple CSS problem

Post by fashizzlepop on Thu Dec 27, 2012 2:13 am
([msg=71860]see Re: Simple CSS problem[/msg])

NewVoxel wrote:-- Thu Dec 27, 2012 2:22 pm --

Go figure the moment that I post this I figure out how to solve it.

Code: Select all
word-wrap: break-word

Isn't it funny how that always happens?
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2304
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Simple CSS problem

Post by NewVoxel on Thu Dec 27, 2012 9:58 am
([msg=71861]see Re: Simple CSS problem[/msg])

fashizzlepop wrote:Isn't it funny how that always happens?

I wish it still happened when I ask how to pick up bitches. The only epiphany I get from that is to not call them bitches.
"Don't include a single line in your code which you could not explain to your grandmother in a matter of two minutes."

And of course... assume your grandmother is not Ada Lovelace.

http://www.newvoxel.com/
User avatar
NewVoxel
New User
New User
 
Posts: 45
Joined: Tue Oct 16, 2012 8:37 am
Blog: View Blog (0)



Return to Web Design

Who is online

Users browsing this forum: No registered users and 0 guests

cron