behindthepipe
MIS
Im from a table background, and beginning to learn CSS.
I have a container div and another div called divB.
I then place divB inside the container.
Now I keep adding text to divB, and theres a problem. the divB will stretch its width and go outside the container div boundary instead of going to a new line and wrap the text inside the divB box itself.
How do I fix this?
also, if I keep stretching the divB height with "<br/>",
how can I make the container stretch its height also to complement each other? thanks.
I have a container div and another div called divB.
I then place divB inside the container.
Now I keep adding text to divB, and theres a problem. the divB will stretch its width and go outside the container div boundary instead of going to a new line and wrap the text inside the divB box itself.
How do I fix this?
also, if I keep stretching the divB height with "<br/>",
how can I make the container stretch its height also to complement each other? thanks.