Hi
I have seen that a container like a div which has floated children doesnt consider the children's height.
I used overflow:auto and it worked.
But sometimes I get a scroll bar that I dont want.
How can I fix that?
From your brief description, I am not clear about you problem,
anooshiravan
I used overflow:auto and it worked.
Would you please provide use with your code so that I could understand what is your problem easily.
anooshiravan
But sometimes I get a scroll bar that I dont want.
Please give more description about what you want to do.
Best regards
Cathy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
243 Points
156 Posts
Floated elements container
Mar 18, 2017 11:49 AM|anooshiravan|LINK
I have seen that a container like a div which has floated children doesnt consider the children's height.
I used overflow:auto and it worked.
But sometimes I get a scroll bar that I dont want.
How can I fix that?
Star
8670 Points
2882 Posts
Re: Floated elements container
Mar 20, 2017 08:13 AM|Cathy Zou|LINK
Hi anooshiravan,
From your brief description, I am not clear about you problem,
Would you please provide use with your code so that I could understand what is your problem easily.
Please give more description about what you want to do.
Best regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
All-Star
48320 Points
18004 Posts
Re: Floated elements container
Mar 20, 2017 08:21 AM|PatriceSc|LINK
Hi,
Tryhttp://stackoverflow.com/questions/218760/how-do-you-keep-parents-of-floated-elements-from-collapsing