I we have checked previously death by default.
The block elements occupy the entire with off the page.
There are,
however,
several properties that allow you changing the with off the settlements so that the space
occupied adapt to the size that we want to define the with.
We have the with property that can be applied to an element this property off the element
does not include bedding,
borders or margins.
In this next example,
I have to do gives one with green color and another blue that occupy the entire with off
the page as I decreased browser.
The pledge size decreases the content,
and the DIV will adjust with to screen size and increase I've if necessary.
If I now use the wheat property with 900 pixels for the first eve,
what happens?
Did it would Onley occupy night 100 pizzas instead off the full with?
The problem is that by decreasing the size of the page,
the diva reminds the same size,
not adjusting the dif to the size off the window.
It's here that we introduced the Property Mac suite that makes the 900 pixels and minimum
value and not a fixed value So I have lower with values if the window is recites to values
below 900 pixels,
as we can see now in the brother.
Another possible scenario is the use up the two properties at the same time in the first
live.
If you use Max with with 800 pixels value,
what happens did he will assume this new value,
but as a fixed value,
not adjusting to content to values lower than 800 pixels.
Now,
adding the mind with property in the second Div.
Let's create a minimum value for the with off 600 pixels.
What happens in this situation is that they will follow the maximum with off the window but
Onley up to the value off mine with for values lowered,
then 600 pixels to D reminds with the sweet leaving the content toe an overflow situation.
I'm going now.
Talk about the ID property that defines the I've often element.
If I set in the first defied off 300 pixels,
the behavior will be similar to the white property where developers off white and I are
fixed and there are no changes in the Deve with the resizing off the window the same way I
created minimum and maximum value for the with I can create for I've for the first day if I
give minimum values off with off 200 pixels and I've off 150 pixels.
What happens in this situation is that as I decrease the browser with the wheat off,
the and content will adapt to the size.
Yes,
for the I've we see that as we have a minimum off 150 pixels,
we have some free spice without content.
And as I shrink the window,
the ICT off the green leaf is adjusting its side to the contents.
Now for the last situation when entered at 50 pixels for the max I've for disguise,
we do not have defined minimum.
I've value So the first chief justice side do the content.
If I decrease the size off the window,
I get a situation where the green deep reaches 150 pixels off life and the longer increases
the IIF,
causing an over full situation.
As you can see now,