cma6, I think I must not express myself very clearly at all.
First, in post #33, I thought that I clearly explained that Dreamweaver Design View was not a browser and was not to be relied on as a medium for testing one’s code. It is not a real browser. It is as buggy as Hades. I am disappointed, of course, that I have been trying to offer suggestions to remedy “problems” that are nothing more than manifestations of bugs in Dreamwisher’s flawed Design View; because if perchance some change DOES fix a Design View “issue”, then the result will be code that does NOT work correctly in REAL BROWSERS. I have been wasting time and energy. So I must not have explained that very well since your last post describes how Dreamwisher’s Fantasy View does not render the code correctly in its tablet views. Well, it’s not a browser, and it’s even further from being a tablet.
If you have a real browser on your computer, use it for testing your code. Double-click the actual file and open it in your browser. Drag the edge of the browser window to narrow widths to test media query triggered layout changes. ALWAYS use a real, up-to-date browser for testing. NEVER use “you-know-what”.
In post #46, you asked about {margin-left:20px}
being applied to the paragraph at 700px and narrower.
You also asked about the {margin-top:6px}
being applied to .items below 900px.
It appears that I did not explain the code very clearly in post #47, either, because you were unable to duplicate the behavior that I claimed you should see. I’ll give that another try…
I prepared two images; screenshots of a text editor and a real browser (Firefox).
At the top of each image is the CSS that the browser is rendering.
Regarding {margin-left:20px}
assigned to the paragraph in (line 95) of the CSS:
The left image shows that the margin provides space between the left edge of .items and the left edge of the text. (References are in Blue). The right image shows that if {margin-left:20px}
were not applied, the left edge of the text would touch the left edge of .items. The first image also demonstrates that the left margin does not add space between the right edge of the image and the text; it only affects the edge of the paragraph that is near the edge of .items. That’s how text behaves around floats.
Regarding increasing the vertical space between .items (.item + .item {margin-top:6px}
):
The left image shows spacing of 6px and the code in the 900px query that supplies it (line 88). The right image shows a separation of 12px between .items. In the code at the top, in the 700px query, you can see where the line of copied code was added (line 98) and see that 6px was changed to 12px.
I do hope that these images clarify what I was unable to articulate clearly, especially about the difference between Design View and Real Browsers. You DO have a choice. If you do not know how to un-maximize your browser so you can drag the window edge and resize it, just ask.
If you would like to discuss any more existing issues, please specify the BROWSER in which you see them; if IE, please include the version number.
The HTML5 header that you have written could be modernized a little:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1940s to Designer high-style vintage clothing at Vintage Textile</title>
<meta name="description" content="1940s & 1950s high-style vintage clothing and Designer fashion for the discriminating collector at Vintage Textile.com">
<meta name="keywords" content="party dress">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style_sheets/cma10a.css" rel="stylesheet" type="text/css">
<link href="style_sheets/menus10a.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script type="text/javascript" src="js/respond.min.js"></script>
<style type="text/css">
.item {border-bottom:1px solid #888;}
.item + .item {margin-top:6px;}
</style>
<![endif]-->
</head>
There is no requirement in HTML(5) to use the XHTML closing slash on empty elements.
I am not familiar with David Powers. He seems to be a Dreamweaver author. If you can provide a link to his article, I’ll read it. We can also ask @ralph_m for his opinion about the use of “only” in media queries.