html - Get background color to fill full height of div -


I have a div that has set height and background color - as you can imagine the background color The full height of the devil does not extend to fill

I also have 4 div , for the spherical corners in this container compartment, I have included the code given below. Regardless of the content, how do I get the background color to expand on the bottom of the container diva?

  & lt; Div id = "art2" & gt; & Lt; Div class = "art2boxtl" & gt; & Lt; / Div & gt; & Lt; Div class = "art2boxtr" & gt; & Lt; / Div & gt; Content & lt; Div class = "art2boxbl" & gt; & Lt; / Div & gt; & Lt; Div class = "art2boxbr" & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

YOur's problem Background-color - it will fill the entire area properly - but the fact is that the surrounding DIVs are not dragging it to the full size of all the DIV

Raveren's approach Parents will convert div if children are float: true or float: left . For those people who will not work for status: full , you have to give parents the container a certain height


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -