{"id":256,"date":"2012-02-10T11:44:59","date_gmt":"2012-02-10T11:44:59","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=256"},"modified":"2022-02-17T07:14:04","modified_gmt":"2022-02-17T07:14:04","slug":"css-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/css\/css-basics\/css-general","title":{"rendered":".CSS General"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;style type=\"text\/css\"&gt;\n&lt;!--\n.my_style {\n\tfont-family: Arial, Helvetica, sans-serif;\n\tfont-size: 10px;\n\tcolor: #000033;\n}\n--&gt;\n&lt;\/style&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">DIV vs SPAN <\/h4>\n\n\n\n<div>\nDIV&#8217;s cause a new line. &nbsp;To change the stule of text min line use SPAN\n<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Using Div&#8217;s Without A Style <\/h4>\n\n\n\n<p>\n&lt;div style=&#8221;margin-top: 10px;&#8221;&gt;\n<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">&#8216;.&#8217; or &#8216;# <\/h4>\n\n\n\n<p># is for ID <\/p>\n\n\n\n<p>You use &#8216;#somename&#8217; when its an &lt;div id=&#8221;somename&#8221; <\/p>\n\n\n\n<p>ID&#8217;s can be useful to suround an area so that you can use this in the stylesheet: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#navlnks .page_item, #navlnks .page_item a { <\/code><\/pre>\n\n\n\n<p>. is for Class <\/p>\n\n\n\n<p>You use &#8216;.some_name&#8217; when its &lt;div class=&#8221;some_name&#8221; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>DIV vs SPAN DIV&#8217;s cause a new line. &nbsp;To change the stule of text min line use SPAN Using Div&#8217;s Without A Style &lt;div style=&#8221;margin-top: 10px;&#8221;&gt; &#8216;.&#8217; or &#8216;# # is for ID You use &#8216;#somename&#8217; when its an &lt;div id=&#8221;somename&#8221; ID&#8217;s can be useful to suround an area so that you can use this [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[287],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-css-basics"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":9,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":3482,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/256\/revisions\/3482"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}