{"id":56552,"date":"2022-08-05T03:01:21","date_gmt":"2022-08-04T17:01:21","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=56552"},"modified":"2022-08-05T18:48:14","modified_gmt":"2022-08-05T08:48:14","slug":"css-row-gap-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-row-gap-primer-tutorial\/","title":{"rendered":"CSS Row Gap Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/css_row_gap_usage.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS Row Gap Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/css_row_gap_usage.jpg\" title=\"CSS Row Gap Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">CSS Row Gap Primer Tutorial<\/p><\/div>\n<p>Yes, an HTML div element innerHTML content can be organized like an HTML table in a &#8220;grid&#8221; like way via CSS like &#8230;<\/p>\n<p><code><br \/>\n&lt;style&gt;<br \/>\ndiv.grid-container {<br \/>\n  display: grid;<br \/>\n  row-gap: 50px;<br \/>\n}<br \/>\n&lt;\/style&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; thanks to <a target=_blank title='https:\/\/www.w3schools.com\/cssref\/tryit.asp?filename=trycss3_row-gap' href='\/\/www.w3schools.com\/cssref\/tryit.asp?filename=trycss3_row-gap'>https:\/\/www.w3schools.com\/cssref\/tryit.asp?filename=trycss3_row-gap<\/a> here, too!<\/p>\n<p>And yes, HTML div is more favoured than HTML table regarding <a target=_blank title='Responsive design' href='https:\/\/www.w3schools.com\/html\/html_responsive.asp'>responsive design<\/a>.<\/p>\n<p>And so, yes, we thought you might be interested in our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/css_row_gap_usage.html_GETME\">proof of concept css_row_gap_usage.html<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/css_row_gap_usage.html\" title=\"Click picture\">web application<\/a> trying to fit some <font size=1>sub<\/font>div into <a target=_blank title='window.innerHeight vs ...' href='https:\/\/www.google.com\/search?q=innerheight+vs+outerheight&#038;rlz=1C5CHFA_enAU973AU973&#038;oq=innerHeight&#038;aqs=chrome.0.69i59j69i57j0i512l2j0i20i263i512j0i512l5.3273j0j4&#038;sourceid=chrome&#038;ie=UTF-8'>window.innerHeight<\/a> &#8220;real estate&#8221;.<\/p>\n<p>And &#8230;<\/p>\n<blockquote cite='https:\/\/www.youtube.com\/watch?v=iRlqmTKyQx0'><p>\n<a target=_blank title='No No No No N No Yes!' href='https:\/\/www.youtube.com\/watch?v=iRlqmTKyQx0'>No No No No N No Yes!<\/a>\n<\/p><\/blockquote>\n<p> &#8230; we think you could also try this out for yourself, below &#8230;<\/p>\n<p><iframe src='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/css_row_gap_usage.html' style='width:100%;height:905px;'><\/iframe><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d56552' onclick='var dv=document.getElementById(\"d56552\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/div\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d56552' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Yes, an HTML div element innerHTML content can be organized like an HTML table in a &#8220;grid&#8221; like way via CSS like &#8230; &lt;style&gt; div.grid-container { display: grid; row-gap: 50px; } &lt;\/style&gt; &#8230; thanks to https:\/\/www.w3schools.com\/cssref\/tryit.asp?filename=trycss3_row-gap here, too! And yes, &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/css-row-gap-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,14,37],"tags":[281,342,2208,2298,576,997,2644,1991,4051,1209,1212,1238,1319,4052],"class_list":["post-56552","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-css","tag-div","tag-getboundingclientrect","tag-grid","tag-html","tag-programming","tag-responsive","tag-responsive-design","tag-row-gap","tag-style","tag-styling","tag-table","tag-tutorial","tag-window-innerheight"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/56552"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=56552"}],"version-history":[{"count":8,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/56552\/revisions"}],"predecessor-version":[{"id":56560,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/56552\/revisions\/56560"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=56552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=56552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=56552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}