stormtracker Posted March 27, 2019 Share Posted March 27, 2019 Hello wish to create the location on the left and the temperature on right of the location how can I do this mike soruse code here <div class="temperature"><span id="temperature">0</span>°</div> Link to comment Share on other sites More sharing options...
merazgasalim Posted March 27, 2019 Share Posted March 27, 2019 There are many solutions for positioning elements like: 1-make div display as inline-block 2-using float proprieties tell me more what do u want to do and I'll help you Link to comment Share on other sites More sharing options...
ishan_shah Posted July 15, 2019 Share Posted July 15, 2019 Hello, You can do it with the use of bootstrap. Apply row class and then use two div in a single div which has row class. Link to comment Share on other sites More sharing options...
dsonesuk Posted July 15, 2019 Share Posted July 15, 2019 Using bootstrap is overkill for very basic problem and would you mind stop replying to outdated already answered topics. Link to comment Share on other sites More sharing options...
vmars316 Posted July 29, 2019 Share Posted July 29, 2019 dsonesuk Just curious , how does one know if something has been answered successfully ? There doesn't seem to be an 'answered icon' any where . Thanks Link to comment Share on other sites More sharing options...
shaili_shah Posted October 17, 2019 Share Posted October 17, 2019 (edited) you can apply below style to div tag for set div side by side display:inline-block Edited October 17, 2019 by shaili_shah Link to comment Share on other sites More sharing options...
Sherin Posted December 12, 2019 Share Posted December 12, 2019 (edited) Try using display:flex to the div wrapper else the float property. Edited December 12, 2019 by Sherin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now