For the width specified in the CSS for various tags within my HTML, do I need to individually list each tag when setting CSS for a Media Query? If so, how can I do this while maintaining the same ratio for full screen?
<!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>
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/lightbox-2.6.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/lightbox.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jenifer Troska</title>
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/ico" href="images/icon.ico"/>
</head>
<body>
...
</body>
</html>
CSS ----
body{margin:0px; padding:0px; background:#fffde4 url(../images/bodyBg.jpg) repeat-x}
...
@media screen and (max-width: 640px) {
#mainWrap:{ width:50%;}
#mainPael: {width:50%;}
h1 {width:50%;}
#webdesign {width:50%;}
#logoWrap {width:50%;}
}