css - Floating + vertical alignment -


how achieve in html/css:

client:                                               sales person: john smith                                            mike anderson 

so need 2 inputs tiled vertically on left side of page , same on right side.

did tried something? use floats , go

html

<div class="left"></div> <div class="right"></div> <div style="clear: both;"></div> 

css

.left {    float: left; }  .right {    float: right; } 

and if it's tabular format, better use tables instead of divs


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -