<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3198734463682730123</id><updated>2024-10-05T03:36:38.066+01:00</updated><category term="design"/><category term="tweak"/><category term="css"/><category term="html"/><title type='text'>vladimirus</title><subtitle type='html'>The Answer to Web Development, Life, the Universe, and Everything</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vladimirus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198734463682730123/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://vladimirus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3198734463682730123.post-2826707495873148423</id><published>2008-08-24T19:11:00.004+01:00</published><updated>2008-08-24T19:20:40.016+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="design"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="tweak"/><title type='text'>HTML IMG Tag - Default Image</title><content type='html'>To set &quot;default image&quot; in &amp;lt;img&amp;gt; you need to create javascript &lt;span style=&quot;font-weight: bold;&quot;&gt;onerror &lt;/span&gt;event. &lt;span style=&quot;font-weight: bold;&quot;&gt;onerror&lt;/span&gt; is triggered when an image cannot be displayed for whatever reason:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(0, 0, 153);&quot;&gt;&amp;lt;img src=&quot;http://www.domain.com/image.jpg&quot; onerror=&quot;this.src=&#39;/error.gif&#39;&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Easy.</content><link rel='replies' type='application/atom+xml' href='http://vladimirus.blogspot.com/feeds/2826707495873148423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3198734463682730123/2826707495873148423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198734463682730123/posts/default/2826707495873148423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198734463682730123/posts/default/2826707495873148423'/><link rel='alternate' type='text/html' href='http://vladimirus.blogspot.com/2008/08/html-img-tag-default-image.html' title='HTML IMG Tag - Default Image'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3198734463682730123.post-740318204900798943</id><published>2008-08-03T17:56:00.001+01:00</published><updated>2008-12-10T01:16:06.964+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="design"/><category scheme="http://www.blogger.com/atom/ns#" term="tweak"/><title type='text'>Remove that dotted border using CSS</title><content type='html'>Sometimes, when I click on someone’s logo, I see that little dotted border around the image. Personally, I think it looks a bit messy (why would you want to highlight the image when you click on it?):&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLXGwxqoSSTgXmOjjxvrR3a5cefPMEr-K2iTtGe1rr86MFNW_jugxqp_7SL4imJVt1i30rw1F24W8BL7HD6T7MFJud-0ygN8esIxL0J46KXwluEtI3v5GFz2T2LUDqOv7U8Ex2IjmPw24/s1600-h/border.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLXGwxqoSSTgXmOjjxvrR3a5cefPMEr-K2iTtGe1rr86MFNW_jugxqp_7SL4imJVt1i30rw1F24W8BL7HD6T7MFJud-0ygN8esIxL0J46KXwluEtI3v5GFz2T2LUDqOv7U8Ex2IjmPw24/s400/border.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5230336688523092994&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;There is a very easy CSS trick to remove that little border:&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-style: italic;&quot;&gt;a { outline: none; }&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;Now, you try and see :)</content><link rel='replies' type='application/atom+xml' href='http://vladimirus.blogspot.com/feeds/740318204900798943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3198734463682730123/740318204900798943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3198734463682730123/posts/default/740318204900798943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3198734463682730123/posts/default/740318204900798943'/><link rel='alternate' type='text/html' href='http://vladimirus.blogspot.com/2008/08/remove-that-dotted-border-using-css.html' title='Remove that dotted border using CSS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLXGwxqoSSTgXmOjjxvrR3a5cefPMEr-K2iTtGe1rr86MFNW_jugxqp_7SL4imJVt1i30rw1F24W8BL7HD6T7MFJud-0ygN8esIxL0J46KXwluEtI3v5GFz2T2LUDqOv7U8Ex2IjmPw24/s72-c/border.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>