Posts by Anna • 51 points
3 posts
-
1
votes2
answers162
viewsA: How do I get the size of the user resized window?
You need to reference the object of which you want the width. In this case, you want the width of the object window, but in its code the only reference is to document. Stay like this:…
-
2
votes2
answers77
viewsA: Div does not line up with the text
1) You need to set a width so that your two elements appear side by side. Otherwise, both your .title how much your .info are 100% wide and will not stand side by side. 2) Set a width for each…
-
2
votes1
answer195
viewsA: error while using @media
1) You don’t need a "min-width: 0px" if you are already saying that your "max-width" is 320px. The CSS will serve for any device you have until 320px. 2) You have a media query that goes from 320px…