mlegg
01-17-2013, 12:40 AM
I am trying to make a site with HTML5 and responsive design. I have the test page here (http://www.ipcamhd.com/index-test.html)
What do I have to do so the main banner image scales (down or up) to fit various screen sizes?
here is the HTML
<!DOCTYPE html>
<html>
<head>
<title>IPCamHD.com Our Cameras are all HD. Demand it for your Security!</title>
<link rel="stylesheet" type="text/css" href="styles-test.css">
<link rel="stylesheet" href="CSS3Menu/css3menu/style.css" type="text/css" /><style>._css3m{display:none}</style>
<Link rel="icon" type="image/ico" Href="images/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!">
<meta name="keywords" content="IP CAM 2012, security camera, surveillance, Tenvis, Compro, wireless camera, surveillance camera, security video, spy camera, home security camera, surveillance camera, VPN software, Stop Identity Theft, IP Cam 2012, security equipment, monitoring equipment, intelligent monitoring, DVR, hard disk recorders, network cameras, security, video monitoring, NVR, network hard disk video recorder, H 264 DVR System, HD Video Security System, HD Surveillance Camera, HD Security Cameras Systems, Home Video Surveillance Packages, High Definition Surveillance System">
<meta name="author" content="Matt Pilon Sr.">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
function toggle() {
var ele = document.getElementById("toggleText");
var text = document.getElementById("displayText");
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "show";
}
else {
ele.style.display = "block";
text.innerHTML = "hide";
}
}
</script>
<script src="js/modernizr-1.0.min.js"></script>
<div id="mainPicture"><img src="images/main-logo.jpg" alt="IPCAMHD logo"></div>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<!-- Start css3menu.com BODY section -->
<ul id="css3menu1" class="topmenu">
<li class="topfirst"><a href="index.html" title="Home" style="height:18px;line-height:18px;">Home</a></li>
<li class="topmenu"><a href="#" title="Products" style="height:18px;line-height:18px;"><span>Products</span></a>
<ul>
<li><a href="tenvis.html" title="Tenvis">Tenvis IP Cams</a></li>
<li><a href="compro.html" title="ComPro">ComPro Technology Cams</a></li>
<li><a href="nvr.html" title="Network Video Recorder">Network Video Recorder</a></li>
<li><a href="accessories.html" title="VMS Software">VMS Software</a></li>
<li><a href="car-sec.html" title="Car Video Security">Car Video Security</a></li>
</ul></li>
<li class="topmenu"><a href="#" title="Catalogs" style="height:18px;line-height:18px;"><span>Catalogs</span></a>
<ul>
<li><a href="tenvis-cat.html" title="Tenvis Catalog">Tenvis Catalog</a></li>
<li><a href="compro-cat.html" title="Compro Catalog">Compro Catalog</a></li>
</ul></li>
<li class="topmenu"><a href="support.html" title="Support" style="height:18px;line-height:18px;">Support</a></li>
<li class="topmenu"><a href="policies.html" title="Policies" style="height:18px;line-height:18px;">Policies</a></li>
<li class="topmenu"><a href="about.html" title="About Us" style="height:18px;line-height:18px;">About Us</a></li>
<li class="toplast"><a href="contact.html" title="Contact" style="height:18px;line-height:18px;">Contact</a></li>
</ul>
<!-- End css3menu.com BODY section -->
<div class="contentBox">
<div class="innerBox">
<div class="contentText">
<h2>Our Cameras are all HD. You demand it on your Television. Demand it for your Security!</h2>
<div id="3column">
<div id="col1">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="col2">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="col3">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="clearance" style="clear:both;"></div>
</div>
<p style="text-align:center;"><a href="https://www.facebook.com/IpCamHd" target="_blank"><img src="images/facebook.jpg" alt="Like us on Facebook"></a> Follow us on Facebook!</p><br>
<div style="clear:both;"></div></div></div></div>
<div id="footer">© 2012 <a href="http://ipcamhd.com/">IPCamHD.com</a> / Cromwell Drive, San Antonio, TX, 78201 / <a href="mailto:mattpilonsr@ipcamhd.com">Matt Pilon Sr.</a> / (210) 617-3519</div>
</body></html>
What do I have to do so the main banner image scales (down or up) to fit various screen sizes?
here is the HTML
<!DOCTYPE html>
<html>
<head>
<title>IPCamHD.com Our Cameras are all HD. Demand it for your Security!</title>
<link rel="stylesheet" type="text/css" href="styles-test.css">
<link rel="stylesheet" href="CSS3Menu/css3menu/style.css" type="text/css" /><style>._css3m{display:none}</style>
<Link rel="icon" type="image/ico" Href="images/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!">
<meta name="keywords" content="IP CAM 2012, security camera, surveillance, Tenvis, Compro, wireless camera, surveillance camera, security video, spy camera, home security camera, surveillance camera, VPN software, Stop Identity Theft, IP Cam 2012, security equipment, monitoring equipment, intelligent monitoring, DVR, hard disk recorders, network cameras, security, video monitoring, NVR, network hard disk video recorder, H 264 DVR System, HD Video Security System, HD Surveillance Camera, HD Security Cameras Systems, Home Video Surveillance Packages, High Definition Surveillance System">
<meta name="author" content="Matt Pilon Sr.">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
function toggle() {
var ele = document.getElementById("toggleText");
var text = document.getElementById("displayText");
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "show";
}
else {
ele.style.display = "block";
text.innerHTML = "hide";
}
}
</script>
<script src="js/modernizr-1.0.min.js"></script>
<div id="mainPicture"><img src="images/main-logo.jpg" alt="IPCAMHD logo"></div>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<!-- Start css3menu.com BODY section -->
<ul id="css3menu1" class="topmenu">
<li class="topfirst"><a href="index.html" title="Home" style="height:18px;line-height:18px;">Home</a></li>
<li class="topmenu"><a href="#" title="Products" style="height:18px;line-height:18px;"><span>Products</span></a>
<ul>
<li><a href="tenvis.html" title="Tenvis">Tenvis IP Cams</a></li>
<li><a href="compro.html" title="ComPro">ComPro Technology Cams</a></li>
<li><a href="nvr.html" title="Network Video Recorder">Network Video Recorder</a></li>
<li><a href="accessories.html" title="VMS Software">VMS Software</a></li>
<li><a href="car-sec.html" title="Car Video Security">Car Video Security</a></li>
</ul></li>
<li class="topmenu"><a href="#" title="Catalogs" style="height:18px;line-height:18px;"><span>Catalogs</span></a>
<ul>
<li><a href="tenvis-cat.html" title="Tenvis Catalog">Tenvis Catalog</a></li>
<li><a href="compro-cat.html" title="Compro Catalog">Compro Catalog</a></li>
</ul></li>
<li class="topmenu"><a href="support.html" title="Support" style="height:18px;line-height:18px;">Support</a></li>
<li class="topmenu"><a href="policies.html" title="Policies" style="height:18px;line-height:18px;">Policies</a></li>
<li class="topmenu"><a href="about.html" title="About Us" style="height:18px;line-height:18px;">About Us</a></li>
<li class="toplast"><a href="contact.html" title="Contact" style="height:18px;line-height:18px;">Contact</a></li>
</ul>
<!-- End css3menu.com BODY section -->
<div class="contentBox">
<div class="innerBox">
<div class="contentText">
<h2>Our Cameras are all HD. You demand it on your Television. Demand it for your Security!</h2>
<div id="3column">
<div id="col1">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="col2">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="col3">
Video Surveillance Products designed around our customers particular needs. Our expert Surveillance consultant has over 35 years experience in the business. Our Cameras are all HD. You demand it on your Television. Demand it for your Security!Video Surveillance In-A-Box is the result of exhaustive research and testing. My company has exclusive factory direct purchase power. No useless, costly middle-man or monthly fees!</div>
<div id="clearance" style="clear:both;"></div>
</div>
<p style="text-align:center;"><a href="https://www.facebook.com/IpCamHd" target="_blank"><img src="images/facebook.jpg" alt="Like us on Facebook"></a> Follow us on Facebook!</p><br>
<div style="clear:both;"></div></div></div></div>
<div id="footer">© 2012 <a href="http://ipcamhd.com/">IPCamHD.com</a> / Cromwell Drive, San Antonio, TX, 78201 / <a href="mailto:mattpilonsr@ipcamhd.com">Matt Pilon Sr.</a> / (210) 617-3519</div>
</body></html>