{"id":384,"date":"2010-09-11T02:08:42","date_gmt":"2010-09-11T06:08:42","guid":{"rendered":"http:\/\/www.searchenginegenie.com\/programming-blog\/?p=384"},"modified":"2012-12-03T10:07:39","modified_gmt":"2012-12-03T14:07:39","slug":"creating-link-boxes-in-css","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/programming-blog\/creating-link-boxes-in-css\/","title":{"rendered":"Creating Link Boxes in CSS"},"content":{"rendered":"<p>[html]<\/p>\n<p>&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;style type=&quot;text\/css&quot;&gt;<br \/>\na:link,a:visited<br \/>\n\/\/Styles to be applied in link Box<\/p>\n<p>{<br \/>\ndisplay:block;<br \/>\nfont-weight:bold;<br \/>\ncolor:#FFFFFF;<br \/>\nbackground-color:#98bf21;<br \/>\nwidth:120px;<br \/>\ntext-align:center;<br \/>\npadding:4px;<br \/>\ntext-decoration:none;<br \/>\n}<br \/>\na:hover,a:active<br \/>\n{<br \/>\nbackground-color:#7A991A;<br \/>\n}<br \/>\n&lt;\/style&gt;<br \/>\n&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<br \/>\n&lt;a href=&quot;default.asp&quot; target=&quot;_blank&quot;&gt;This is a link&lt;\/a&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>[\/html]<\/p>\n<p>Output:<\/p>\n<p>The link box will be created with the Specified Styles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[html] &lt;html&gt; &lt;head&gt; &lt;style type=&quot;text\/css&quot;&gt; a:link,a:visited \/\/Styles to be applied in link Box { display:block; font-weight:bold; color:#FFFFFF; background-color:#98bf21; width:120px; text-align:center; padding:4px; text-decoration:none; } a:hover,a:active { background-color:#7A991A; } &lt;\/style&gt; &lt;\/head&gt; &lt;body&gt; &lt;a href=&quot;default.asp&quot; target=&quot;_blank&quot;&gt;This is a link&lt;\/a&gt; &lt;\/body&gt; &lt;\/html&gt; [\/html] Output: The link box will be created with the Specified Styles.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-384","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":9,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/384\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/tags?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}