{"id":36450,"date":"2018-12-15T22:43:56","date_gmt":"2018-12-15T22:43:56","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=36450"},"modified":"2018-12-15T22:44:01","modified_gmt":"2018-12-15T22:44:01","slug":"web-design-css-nowrap","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/web-design-css-nowrap\/","title":{"rendered":"Web design: css nowrap"},"content":{"rendered":"<h2>Self-tutoring about web design: the tutor mentions the nowrap option for white-space.<\/h2>\n<p>What if you want a long string with no line breaks, for some reason? Well, it can be done, with nowrap:<\/p>\n<div style=\"white-space:nowrap;overflow:scroll\">\nHere is a sentence likely too long for the line, yet it doesn&#8217;t wrap; instead, it just continues past the margin, available for view there by scrolling:)<\/div>\n<div style=\"font-family:monospace;font-size:130%;white-space:pre-wrap\">\n<p>div{<br \/>\nwhite-space:nowrap;<br \/>\noverflow:scroll<br \/>\n}<\/p>\n<\/div>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/css-tricks.com\/almanac\/properties\/w\/whitespace\/\">css-tricks.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about web design: the tutor mentions the nowrap option for white-space. What if you want a long string with no line breaks, for some reason? Well, it can be done, with nowrap: Here is a sentence likely too long &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/web-design-css-nowrap\/\"> <span class=\"screen-reader-text\">Web design: css nowrap<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1631],"tags":[],"class_list":["post-36450","post","type-post","status-publish","format-standard","hentry","category-css"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=36450"}],"version-history":[{"count":7,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36450\/revisions"}],"predecessor-version":[{"id":36457,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/36450\/revisions\/36457"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=36450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=36450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=36450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}