<!doctype html> | |
<head> | |
<style> | |
.box { border:1px solid black; padding:3px; margin:3px } | |
.nowrap { white-space: nowrap; } | |
.float { float: left; } | |
</style> | |
<body> | |
<div class="box"><a>One <br> Two</a></div> | |
<div class="box"><a>One<br><br>Two</a></div> | |
<div class="box nowrap"><a>One <br> Two</a></div> | |
<div class="box float"><a>One<br> Two</a></div> |