<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.genral .table { display: table; width: 80%; border:1px solid #ff0000; border-radius:10px; margin:0 auto;}
.genral .row { display: table-row; }
.genral .cell { display: table-cell; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding:5px 5px 5px 5px}
.genral .cell-1-width{ width:90px;}
.genral .cell-2-width{ width:20px;}
</style>
</head>
<body>
<div class="genral">
<div class="table">
<div class="row">
<div class="cell cell-1-width">User Name</div>
<div class="cell cell-2-width">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell">Password</div>
<div class="cell">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell">Email Id</div>
<div class="cell">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"><input name="Submit" type="button" value="Submit" /></div>
</div>
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.genral .table { display: table; width: 80%; border:1px solid #ff0000; border-radius:10px; margin:0 auto;}
.genral .row { display: table-row; }
.genral .cell { display: table-cell; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding:5px 5px 5px 5px}
.genral .cell-1-width{ width:90px;}
.genral .cell-2-width{ width:20px;}
</style>
</head>
<body>
<div class="genral">
<div class="table">
<div class="row">
<div class="cell cell-1-width">User Name</div>
<div class="cell cell-2-width">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell">Password</div>
<div class="cell">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell">Email Id</div>
<div class="cell">:</div>
<div class="cell"><input name="" type="text" /></div>
</div>
<div class="row">
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"><input name="Submit" type="button" value="Submit" /></div>
</div>
</div>
</div>
</body>
</html>
No comments:
Post a Comment