CSS question.
CSS question.
- Started
- Last post
- 4 Responses
- Claymantis
If you have a div with a defined width.
Then you put text in that div...
Why doesn't the text break to where the end of the div is? Why does it all stay on one line and push way outside the div?Thanks.
- BattleAxe0
is your defined width in px or %?
- Claymantis0
px
- Claymantis0
I got it to flow now. It looks like you need spaces in your text for the text to break. If the text is all one big word, with no spaces.
It doesnt break!
- Claymantis0
what if you want to make the div change width depending on the size of the browser window. You know how the lines break as you make the browser smaller?
How is that achieved?Thanks