The following code will help you place DIV tag side by side using CSS without a line break
<html>
<head>
<title>Placing DIV tag side by side using CSS</title>
<style type="text/css">
.div1 {background-color: #ff0000;border:1px solid black; float:left}
.div2 {background-color: #00ff00;border:1px dashed black;float:left}
</style>
</head>
<div class="div1">Placing DIV tag side by side using CSS</div>
<div class="div2">This is another DIV tag</div>
</html>