You can use float on that particular div, e.g. <div style=”float:right;”>Float the div you want more space to have to the left as well: <div style=”float:left;”>If all else fails give the div on the right position:absolute and then move it as right as you want it to be.
How do I move an element next to CSS?
If you want to place them next to each other you would require to use a CSS property float. As the name goes the float property specifies how an element should float in the webpage on the left or the right!. Values that a float property can have areas below, left – The element will float left w.r.t to its container.
How do I make text-align left in CSS?
ValueDescriptionleftThe text will align to the leftrightThe text will align to the rightcenterThe text will align to the center