Jump to content

What do you call this behavior?


maplesyrup
 Share

Recommended Posts

Some web pages have the ability to reformat text as you resize the window. Others do not - the text will then truncate on the right as the window size decreases from left to right. Is there a name for this behavior?How can I get my web pages to exhibit the ability to resize with a change in window size?Thanks,

Link to comment
Share on other sites

It's called "wrapping" when the text moves to the next line as the container gets smaller.Elements that are blocks automatically take the width of the window if no width is set. You can set margin and padding to change the size of the box.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...