Friday, June 27, 2014

Simple page responsive code for static websites

code:-
<html>
<head>
<title>Responsive web design</title>
<style>
.container {
 width:538px;
}

table{
background-color:#c6dcfe;
}

</style>
</head>
<body>
<div id="container">
<table border="1" width="100%"  cellpadding="0" cellspacing="0">
<tr>
<td><h1>Its Responsive web design</h1></td><br>
</tr>
<tr>
<td>
<p>The goal with responsive design is to have one site with various elements that will respond correctly on different sizes of devices. No need to make several versions of the site anymore.</p>

</td>
</tr>
<tr>
<img src="Eset-Nod32-3D-Robot-HD-Wallpapers-D.jpg" style="max-width:100%;height:auto;" />
</tr>
</table>
</div>
</body>
</html>