{"id":1023,"date":"2006-07-15T12:00:00","date_gmt":"2006-07-15T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=1023"},"modified":"2006-07-15T12:00:00","modified_gmt":"2006-07-15T12:00:00","slug":"i-dont-want-to-see-html-for-a-long-time","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2006\/07\/15\/i-dont-want-to-see-html-for-a-long-time\/","title":{"rendered":"I don&#8217;t want to see HTML for a long time"},"content":{"rendered":"<p>If I&#8217;m honest, I&#8217;m sure most of my problems have been self-inflicted and my &#8216;solution&#8217; is little more than an unsatisfactory hack but if it means I don&#8217;t have to look at any HTML for a few weeks, it will do.<\/p>\n<p>I eventually tracked down <a href=\"http:\/\/18.133.199.212\/?p=1012\">this problem<\/a> to a difference between how Firefox and IE6 handle consecutive &lt;br \/&gt; tags inside &lt;pre&gt; tags. IE effectively collapses them into a single &lt;br \/&gt; tag and Firefox doesn&#8217;t. I tried various solutions, most of them based on using &lt;code&gt; tags for code examples instead of &lt;pre&gt; tags, but that would have involved extensive manual edits. I&#8217;d foolishly assumed I&#8217;d be able to avoid such things when blogging.<\/p>\n<p>Applying a little lateral thinking to the problem, I decided to replace &lt;br \/&gt;&lt;br \/&gt; with &lt;br \/&gt;&lt;p&gt;&lt;\/p&gt;&lt;br \/&gt; to try to kid IE6 into thinking that there was something between the &lt;br \/&gt; tags. It looks like it&#8217;s worked and Firefox and IE now display the same line spacing, which is all I was looking for in the first place. I wouldn&#8217;t say the formatting of every entry in the blog is perfect, but I doubt I&#8217;ll be improving it any time soon, if ever. I&#8217;ve wasted far too much time on it, but the fact is I&#8217;m pretty chuffed with how the code examples look and maybe it was worth it.<\/p>\n<p>One unexpected benefit of having to mess around with this is that I&#8217;ve been using mysql for the first time. I&#8217;ve only been running a bit of SQL and digging around the Serendipity schema but it&#8217;s been an unexpectedly pleasant experience.<\/p>\n<p>Now, for my sins, I have to drive my daughter and her mum through to Glasgow airport for a 2am check-in for their holiday in Spain. It&#8217;ll be a nice break from HTML and CSS &#128521;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If I&#8217;m honest, I&#8217;m sure most of my problems have been self-inflicted and my &#8216;solution&#8217; is little more than an unsatisfactory hack but if it means I don&#8217;t have to look at any HTML for a few weeks, it will do. I eventually tracked down this problem to a difference between how Firefox and IE6&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2006\/07\/15\/i-dont-want-to-see-html-for-a-long-time\/\">Continue reading <span class=\"screen-reader-text\">I don&#8217;t want to see HTML for a long time<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1023","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1022,"url":"http:\/\/orcldoug.com\/blog\/2006\/07\/14\/grrrrrr\/","url_meta":{"origin":1023,"position":0},"title":"Grrrrrr!","date":"July 14, 2006","format":false,"excerpt":"So what can I do? I've messed around with templates, updated the back-end database and I'm going round in circles.My problem? Well <pre> tags are what I'm looking for so that the output of queries are spaced correctly, but IE doesn't like <br> tags inside <pre> tags and ignores them.\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1084,"url":"http:\/\/orcldoug.com\/blog\/2006\/09\/17\/test-code-examples\/","url_meta":{"origin":1023,"position":1},"title":"Test Code Examples","date":"September 17, 2006","format":false,"excerpt":"Here's a code example with <pre> tags around it. There should be extra spacing between the query and the result than the two lines of the query.SELECT 'Spiders are deadly'FROM DUAL;Spiders are deadlyAnd here is the entire HTML fragment from above <p>Here's a code example with <pre> tags around it.\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1045,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/05\/blog-issues\/","url_meta":{"origin":1023,"position":2},"title":"Blog Issues","date":"August 5, 2006","format":false,"excerpt":"There are still a few minor (I hope) issues with the blog. RSS Feed1) Thomas Presslie mentioned that the success of the RSS feed is intermittent - it seems to miss posts or they appear late. I haven't noticed any problems myself and then realised that my Thunderbird feed-reader is\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1060,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/19\/template-issues\/","url_meta":{"origin":1023,"position":3},"title":"Template Issues","date":"August 19, 2006","format":false,"excerpt":"THE FINAL UPDATE - 21st August 2006Template Issues? I don't think so! More like user error \ud83d\ude09 It turns out that all of my template\/RSS\/blog problems were self-inflicted because I'd stupidly renamed my templates\/default folder to something else. What I hadn't realised was that, a bit like the DEFAULT profile\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":925,"url":"http:\/\/orcldoug.com\/blog\/2005\/10\/28\/dbms_xplan-10gr2-autotrace-and-the-case-paper\/","url_meta":{"origin":1023,"position":4},"title":"DBMS_XPLAN, 10gR2 Autotrace and the CASE paper","date":"October 28, 2005","format":false,"excerpt":"When I was putting the finishing touches to the CASE paper, Andy Campbell (one of the reviewers) pointed out that he preferred the DBMS_XPLAN output when looking at execution plans for SQL statements. I do too, but I wanted to use Autotrace, partly for consistency with the original DECODE paper,\u2026","rel":"","context":"With 3 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1469,"url":"http:\/\/orcldoug.com\/blog\/2009\/02\/06\/grid-control-accessibility\/","url_meta":{"origin":1023,"position":5},"title":"Grid Control Accessibility","date":"February 6, 2009","format":false,"excerpt":"I work at a site that has Diagnostic and Tuning Pack licenses (yippee!) so, before we started deploying Grid Control, I tried to encourage the installation of Database Control in the mean-time so that people could get used to the Performance Pages that I find incredibly useful. I was fascinated\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/18.133.199.212\/wp-content\/uploads\/recovered\/OEM_text_link.gif?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=1023"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1023\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=1023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=1023"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=1023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}