How to get Floating DIVs inside fixed-width DIV to continue horizontally?

前端 未结 9 514
情歌与酒
情歌与酒 2020-12-02 12:43

I have a container DIV with a fixed height and width (275x1000px). In this DIV I want to put multiple floating DIVs each with a width of 300px, and have a horizontal (x-axi

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 13:15

    My Ex:

    div width: 850px gridview templatedcolumn ItemTemplate

    
    
    

    end ItemTemplate end templatedcolumn end gridview end div

    the button has left middle(actual button) right spans which where not floating as there was outer div with fixed width.

    I had to use additional div with width 140px outside the button , inside the itemtemplate then it worked.

    Hope this helps!!!

    Thank You Harish

提交回复
热议问题