{"id":730,"date":"2006-07-17T11:25:24","date_gmt":"2006-07-17T18:25:24","guid":{"rendered":"http:\/\/angrypirate.dreamhosters.com\/wordpress\/?p=730"},"modified":"2006-07-17T11:25:24","modified_gmt":"2006-07-17T18:25:24","slug":"css-li-spacing-problem-fixed","status":"publish","type":"post","link":"https:\/\/www.alannarisse.com\/blog\/css-li-spacing-problem-fixed\/","title":{"rendered":"css li spacing problem fixed"},"content":{"rendered":"<p>Sorry, geek post about css.<\/p>\n<p>Let&#8217;s say you have a bullet gif that is 6 pixels high and you want to align it to your text in your bullet item.  If you line it up right in ie, it won&#8217;t be right in firefox. This problem has been troubling me for years. I found a fix that appears to work.<br \/>\n Well, here&#8217;s a fix that will overrigt just the style in firefox, but ie will only use the first one.<\/p>\n<pre>\n#size_chart li {\n    background-image: url(images\/bullet.gif);\n    background-repeat: no-repeat;\n    background-position: 0 .8em;\n    padding-left: .9em;\n}\n\n\/* the following adds a little more padding to ie so it looks nice too *\/\n*html #size_chart li {\n    background-position: 0 1.1em;\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sorry, geek post about css. Let&#8217;s say you have a bullet gif that is 6 pixels high and you want to align it to your text in your bullet item. If you line it up right in ie, it won&#8217;t be right in firefox. This problem has been troubling me for years. I found a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":0,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}