-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcss_ex3(div).html
119 lines (117 loc) · 2.71 KB
/
css_ex3(div).html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!-- saved from url=(0053)file:///Users/rohit/Desktop/Nitin_vinsol/css_ex3.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
form
{
margin:30% 10% 10% 30%;
position:fixed;
font-family:serif;
}
.tr
{
display:inline;
width:250px;
float:left;
border-left:solid 1px #d7e4f1;
height:25px;
color:#376fa2;
}
.tfield
{
width:240px;
float:right;
margin-right:1px;
border:solid 1px #000000;
margin-top:3px;
background-color:#d7e4f1;
}
.block
{
display:block;
border-bottom:solid 1px #d7e4f1;
border-right:solid 1px #d7e4f1;
float:left;
width:502px;
}
.nest
{
display:inline;
border-left:1px solid #d7e4f1;
height:25px;
color:#376fa2;
}
#bclr
{
background-color:#f3f6fb
}
</style>
</head>
<body>
<form>
<div class="block" style="border-top:solid 1px #d7e4f1;">
<div class="tr">
Name
</div>
<div class="tr" id="bclr" style="width:250px;">
<input type="text" name="name" class="tfield" />
</div>
</div>
<div class="block">
<div class="tr">
Address Line 1
</div>
<div class="tr" id="bclr">
<input type="text" name="name" class="tfield" />
</div>
</div>
<div class="block">
<div class="tr">
Address Line 2
</div>
<div class="tr" id="bclr">
<input type="text" name="name" class="tfield" />
</div>
</div>
<div class="block">
<div class="tr">
City
</div>
<div class="tr" id="bclr">
<input type="text" name="name" class="tfield" />
</div>
</div>
<div class="block">
<div class="nest" style="width:125px; float:left;">
State
</div>
<div class="nest" style="width:124px; float:left" id="bclr">
<select class="list" style="width:118px; float:right; margin-right:1px; background-color:#d7e4f1;">
<option>--Select--</option>
<option>Haryana</option>
<option>Delhi</option>
<option>Himachal Pradesh</option>
<option>Bihar</option>
<option>Gujrat</option>
</select>
</div>
<div class="nest" style="width:125px; float:left;">
Zip
</div>
<div class="nest" style="width:124px; float:left" id="bclr">
<input type="text" name="name" class="tfield" style="width:95%;"/>
</div>
</div>
<div class="block">
<div class="tr">
Email Address
</div>
<div class="tr" id="bclr">
<input type="text" name="name" class="tfield" />
</div>
</div>
<div style="width:502px; border:1px solid #d7e4f1;">
<input type="submit" name="sub" style=" background-color:#d7e4f1;margin-left:10px;"/>
</div>
</form>
</body>
</html>