Home > Enterprise >  Div Takes Extra Space Even i gave it 50% width
Div Takes Extra Space Even i gave it 50% width

Time:10-16

Here PostContent Div Takes Sapce OF 100% Width, And I want that Red Div Side By Side Wit PostContent Div

ImageUrl

CodePudding user response:

give property of display flex to the parent div

CodePudding user response:

Just add display:inline-block; or float:left; to class .PostContent.

  • Related