general container - IE8 horizontal scrollbar problem

前端 未结 2 1325
旧时难觅i
旧时难觅i 2021-01-26 06:52

I ran into the following problem:
how to make a general container (HTML + CSS; no javascript)
that is contrained vertically (it has a fixed outer height), so it may have

2条回答
  •  长情又很酷
    2021-01-26 07:12

    Floating will probably get the result you're looking for. Check out my example here:
    http://jsbin.com/ivegi4/4/edit

    I took away the containing divs, as I didn't think they were necessary, but I wouldn't see a problem adding them back in if you absolutely needed them.

提交回复
热议问题