{"id":5663,"date":"2013-08-16T09:17:57","date_gmt":"2013-08-16T09:17:57","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snap11\/?page_id=5663"},"modified":"2018-10-04T15:12:46","modified_gmt":"2018-10-04T14:12:46","slug":"laying-grid-question-web-survey","status":"publish","type":"page","link":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/","title":{"rendered":"Laying out a grid question for a Web survey"},"content":{"rendered":"<p>Snap provides several tools to assist you in laying out questions and adjusting positioning of the separate elements. This worksheet describes adjusting the layout of a grid question.<\/p>\n<h3>You will learn:<\/h3>\n<ul>\n<li>How to set the grid boxes so that they are vertically centred<\/li>\n<li>How to hide the question number and remove the space left for it<\/li>\n<li>How to change the spacing between the grid elements<\/li>\n<li>How to adjust the page margins<\/li>\n<\/ul>\n<p><a name=\"o25538\"><\/a><\/p>\n<h3>Background<\/h3>\n<p>When you are creating a survey for the Web, you do not have the same control over the way it looks as you do for a paper survey. Different monitors and different browsers can make surveys look quite different, so it is worth checking it before you put it up on the Web or on Snap WebHost. You also have to consider how the survey will appear in different window sizes, rather than assuming that all the respondents will look at a full-screen window.<\/p>\n<p>Grid layouts that look very sensible in the Snap questionnaire design window may look less attractive when published to the Web.<\/p>\n<p>This worksheet describes how to adjust the spacing of a grid question which asks how much the respondent likes different sandwich fillings. It assumes that you have already created the grid question for a Web:HTML or Snap WebHost survey using the default Web template and the default styles. The question looks like this:<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12188\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/swich_quest.png\" alt=\"Sandwich question visual one\" width=\"507\" height=\"216\" \/><\/p>\n<\/div>\n<p>If you published it in preview mode, it would look like this&#8230;<\/p>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12186\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/swich_def.png\" alt=\"Sandwich question visual two\" width=\"531\" height=\"403\" \/><\/div>\n<p><a name=\"o25539\"><\/a><\/p>\n<h3>Summary of steps<\/h3>\n<p><a id=\"h25558\" title=\"Step 1: Removing question numbers and centering response boxes vertically\" href=\"#o25546\" target=\"_self\">Step 1: Removing question numbers and centering response boxes vertically<\/a><br \/>\n<a id=\"h25559\" title=\"Step 2: Adjusting the grid question spacing\" href=\"#o25551\" target=\"_self\">Step 2: Adjusting the grid question spacing<\/a><br \/>\n<a id=\"h25560\" title=\"Step 3: Changing the page settings\" href=\"#o25552\" target=\"_self\">Step 3: Changing the page settings<\/a><\/p>\n<div>\n<h3><a name=\"o25546\"><\/a>Step 1: Removing question numbers and centering response boxes vertically<\/h3>\n<p>The preview shows that the response circles are vertically aligned with the bottom of the row. You can change that by adjusting the alignment.<\/p>\n<p><strong>Centre the response boxes vertically<\/strong><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>Click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12174\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/205.png\" alt=\"Switch mode button\" width=\"26\" height=\"24\" \/>\u00a0to switch to Style mode.<\/li>\n<li>Select <strong>All &#8216;Grid&#8217; Styles<\/strong> in the drop-down list.<\/li>\n<li>Select <strong>Alignment <\/strong>from the toolbar topic menu.<\/li>\n<li>Select <strong>Code Box\u00a0<\/strong>from the element list.<br \/>\nThe first box (saying <strong>Center <\/strong>in the image) gives the horizontal alignment.<br \/>\nThe second box (saying <strong>Middle <\/strong>in the image) gives the vertical alignment.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12178\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/all_grd_st_alg_box.png\" alt=\"All grid styles alignment box\" width=\"501\" height=\"26\" \/><\/div>\n<ol>\n<li>Set the vertical alignment to <strong>Middle<\/strong>.<\/li>\n<\/ol>\n<p><strong>Remove the question numbers from the styles<\/strong><\/p>\n<ol>\n<li>Still in Styles mode, select <strong>All Styles<\/strong> from the drop-down list.<\/li>\n<li>Select <strong>Show <\/strong>from the toolbar topic menu.<\/li>\n<li>Select Name (for question numbers) or Grid Name (for grid question numbers) from the element list.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12182\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/all_styl_show_name.png\" alt=\"All styles show name box\" width=\"435\" height=\"26\" \/><\/div>\n<\/li>\n<li>Clear the <strong>Show <\/strong>box to hide the question numbers.<\/li>\n<\/ol>\n<\/div>\n<div>\n<h3><a name=\"o25551\"><\/a>Step 2: Adjusting the grid question spacing<\/h3>\n<p>The spacing of a grid question is calculated proportionately to the browser window size. This is because you do not know how respondents will be viewing your questionnaire. You can define the amount of available space that is given to each element using the <strong>Tabs <\/strong>option. The diagram below shows the element names and the areas they affect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12183\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/blank_mc_top_lab.png\" alt=\"blank_mc_top_lab\" width=\"448\" height=\"200\" \/><\/p>\n<p><strong>Remove the space left for the hidden question numbers<\/strong><\/p>\n<ol>\n<li>Still in Styles mode, select <strong>All Styles<\/strong> from the drop-down list. (If you have switched to design mode in the mean time, remember to click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12174\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/205.png\" alt=\"Switch mode button\" width=\"26\" height=\"24\" \/>\u00a0again.)<\/li>\n<li>Select <strong>Tabs <\/strong>from the toolbar topic menu.<\/li>\n<li>Select Name from the element list.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12181\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/all_st_tab_name.png\" alt=\"All styles tab name\" width=\"403\" height=\"26\" \/><\/div>\n<\/li>\n<li>Reduce the space for the <strong>Name <\/strong>element down to <strong>0%<\/strong>. This will push the questions to the left-hand side of the window. (You can use a different value if you prefer.)<\/li>\n<\/ol>\n<p><strong>Increase the gaps between the grid columns and remove the right-hand space<\/strong><\/p>\n<ol>\n<li>With <strong>All &#8216;Grid&#8217; Styles<\/strong> selected in Style mode, select <strong>Tabs <\/strong>from the toolbar topic menu.<\/li>\n<li>Select <strong>Code Gutter\u00a0<\/strong>from the element list.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12179\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/all_grd_st_tabs_gut.png\" alt=\"All grid styles tab gutter\" width=\"402\" height=\"26\" \/><\/div>\n<\/li>\n<li>Increase the space for the <strong>Code Gutter <\/strong>element to <strong>15%<\/strong>.<\/li>\n<li>Select <strong>Code Verge\u00a0<\/strong>from the element list.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12180\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/all_grd_st_tabs_ver.png\" alt=\"All grid styles tabs verge\" width=\"402\" height=\"26\" \/><\/div>\n<\/li>\n<li>Reduce the space for the<strong> Code Verge<\/strong> element down to 0%. This removes the space between the question and the right-hand side of the window.<\/li>\n<\/ol>\n<\/div>\n<div>\n<h3><a name=\"o25552\"><\/a>Step 3: Changing the page settings<\/h3>\n<ol>\n<li>Select <strong>File | Publish<\/strong>.<\/li>\n<li>Select <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12176\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/18604.gif\" alt=\"Output icon\" width=\"40\" height=\"47\" \/>\u00a0in the left-hand column and set the <strong>Method <\/strong>to publish your questionnaire to <strong>Preview only<\/strong>.\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12185\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/outpt_prev_sandw.png\" alt=\"Output preview sandwich \" width=\"413\" height=\"303\" \/><\/p>\n<\/div>\n<\/li>\n<li>Click <strong>[Publish]<\/strong> to display the questionnaire as it will appear.\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12189\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/swich_wd_marg.png\" alt=\"Sandwich question visual two\" width=\"548\" height=\"430\" \/><\/p>\n<\/div>\n<p>There&#8217;s still space between the edges of the window and the grid question in the published survey. This is set in the <strong>Margins <\/strong>option in <strong>Questionnaire properties<\/strong>.<\/li>\n<li>Click <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12177\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/18614.gif\" alt=\"Questionnaire properties button\" width=\"26\" height=\"24\" \/>\u00a0to open the Questionnaire properties dialog.<\/li>\n<li>Select <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12175\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/18599.gif\" alt=\"Margins button\" width=\"42\" height=\"48\" \/>\u00a0in the left hand column.<\/li>\n<li>Set all the margins value to <strong>15px <\/strong>and click <strong>[OK]<\/strong>.\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12184\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/margins_prop_swh1col.png\" alt=\"Margins properties Snap WebHost 1 column\" width=\"413\" height=\"303\" \/><\/p>\n<\/div>\n<\/li>\n<li>Publish your questionnaire to preview again. Your grid question should now expand to fit the whole of the browser window.\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12187\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/swich_na_marg.png\" alt=\"Sandwich question visual three\" width=\"529\" height=\"331\" \/><\/p>\n<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<p><a name=\"o25540\"><\/a><\/p>\n<h3>Conclusion<\/h3>\n<p>This worksheet has shown you how to set the space and alignment for grid questions. You may also wish to read <a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-compound-grids\/\">worksheet 35 on creating compound grids<\/a>, or\u00a0see Snap 11 Help:\u00a0<a href=\"https:\/\/www.snapsurveys.com\/help\/25267.htm\" target=\"_blank\" rel=\"noopener\">Hiding question numbers in web surveys and changing associated text<\/a>.<\/p>\n<p>There are also instructions in the User Manual and the help file on how questions look. Select the <strong>Help <\/strong>menu in the Map Control Editor or read the section on &#8220;Changing an individual question&#8221; in the User Manual.<\/p>\n<p>If there is a topic you would like a worksheet on, email to <a title=\"\" href=\"mailto:snapideas@snapsurveys.com\" target=\"_self\">snapideas@snapsurveys.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"ninja_pages_read_more\"  href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"parent":43,"menu_order":129,"comment_status":"open","ping_status":"closed","template":"page-templates\/child-page.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":{"0":"post-5663","1":"page","2":"type-page","3":"status-publish","5":"search_category-support-hub"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Laying out a grid question for a Web survey - Snap Surveys<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Laying out a grid question for a Web survey - Snap Surveys\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/\" \/>\n<meta property=\"og:site_name\" content=\"Snap Surveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SnapSurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-04T14:12:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/\",\"name\":\"Laying out a grid question for a Web survey - Snap Surveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\"},\"datePublished\":\"2013-08-16T09:17:57+00:00\",\"dateModified\":\"2018-10-04T14:12:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worksheets\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Laying out a grid question for a Web survey\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\",\"name\":\"Snap Surveys\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Laying out a grid question for a Web survey - Snap Surveys","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Laying out a grid question for a Web survey - Snap Surveys","og_url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/","og_site_name":"Snap Surveys","article_publisher":"https:\/\/www.facebook.com\/SnapSurveys","article_modified_time":"2018-10-04T14:12:46+00:00","twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/","url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/","name":"Laying out a grid question for a Web survey - Snap Surveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website"},"datePublished":"2013-08-16T09:17:57+00:00","dateModified":"2018-10-04T14:12:46+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/laying-grid-question-web-survey\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snap11\/"},{"@type":"ListItem","position":2,"name":"Worksheets","item":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/"},{"@type":"ListItem","position":3,"name":"Laying out a grid question for a Web survey"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website","url":"https:\/\/www.snapsurveys.com\/support-snap11\/","name":"Snap Surveys","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/comments?post=5663"}],"version-history":[{"count":10,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5663\/revisions"}],"predecessor-version":[{"id":26616,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5663\/revisions\/26616"}],"up":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/media?parent=5663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}