-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lab_5B.html
169 lines (167 loc) · 4.1 KB
/
Lab_5B.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<html>
<head>
</head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
.header{
height:60px;
}
.options{
float:right;
margin:10px;
color:blue;
font-size: 20px;
}
.main{
height:550px;
border:1px dotted black;
}
.menu{
background-color:red;
width:30%;
height:500px;
float:left;
text-align:center;
}
.op1{
border:1px solid;
border-color: black;
}
.op2{
border:1px solid;
border-color: black;
margin-bottom: 10px;
margin-bottom: 10px;
}
.op3{
border:2px solid;
border-color: black;
margin-top: 10px;
margin-bottom: 10px;
}
.op4{
border:2px solid;
border-color: black;
}
.content{
width:70%;
height:500px;
float:left;
}
.c1{
float:left;
margin:10px;
}
.c2{
float:left;
margin:10px;
width:800px;
}
.c3{
margin:10px;
float:left;
}
.footer{
background-color:blue;
height:30px;
float:left;
width:100%;
height:50px;
}
@media screen and (max-width:750px) {
.header{
background-color: coral;
}
.menu{
height: 370px;
width: 100%;
}
.content{
height: 100%;
width: 100%;
background-color: aqua;
}
.main{
height: 1200px;
}
.footer{
background-color: chartreuse;
}
}
</style>
<body>
<div class="header">
<img src="D:\College\Semster 2\Web Designing\Programs\Images\Logo.png" width="100px" height="50px" style="float:left;">
<div class="options">Login</div>
<div class="options">Contact</div>
<div class="options">About</div>
<div class="options">Home</div>
</div>
<hr>
<div class="main">
<div class="menu">
<div class="op1">
<p>Sidebar</p>
</div>
<div class="op2">
<p>Home</p>
</div>
<div class="op3">
<p>Placement</p></div>
<div class="op3">
<p>Recruitment</p></div>
<div class="op3">
<p>Faculty</p></div>
<div class="op4">
<p>News</p></div>
</div>
<div class="content">
<div class="c1">
<img src="*/" height="50px" width="70px">
<p>Arjun Bala</p>
<p>BE,Mtech(CSE)</p>
</div>
<div class="c2">
<img src="*/" height="50px" width="70px">
<p>Firoz Shreyasiya</p>
<p>BE,ME</p>
</div>
<div class="c3">
<img src="*/" height="50px" width="70px">
<p>Harsh Kansagara</p>
<p>L&T PVT LTD</p>
<P>4.5 Lakh</P>
</div>
<div class="c3">
<img src="*/" height="50px" width="70px">
<p>Shyam Kantesariya</p>
<p>Tata Consultancy Service</p>
<p>3.2 Lakh</p>
</div>
<div class="c3">
<img src="*/" height="50px" width="70px">
<p>Jeet Dhamecha</p>
<p>Reliance Industry LTD</p>
<p>5.0 Lakh</p>
</div>
<div class="c3">
<img src="*/" height="50px" width="70px">
<p>Harsh Maniar</p>
<p>Reliance Industry LTD</p>
<p>5.0 Lakh</p>
</div>
<div class="c3">
<img src="*/" height="50px" width="70px">
<p>Anand Dabhi</p>
<p>BSNL</p>
<p>5.5 Lakh</p>
</div>
</div>
<div class="footer">
<p align="center">©Darshan University-Rajkot</p>
</div>
</div>
</body>
</html>