How do I get a div next to the previous div, not under it?
[code=html] <!doctype html> <html> <head> <style> div#left-div { width: 200px; height: 200px; background-color: red; float: left; // this creates magic! } div#right-div { width: 200px; height: 200px; background-color: orange; float: left; // this too creates magic!!! } </style> </head> <body> <div id="left-div">Is this the 'first div'?</div> <div id="right-div">...and this is the second one!</div> </body> </html> [/code]
Help @asa spread the word by sharing this article on Twitter...