In the head: Code: <!--[if IE]> <script type="text/javascript"> document.write('<object type="text/html" id="object_id" width="0" height="0" data="menu.html"><\/object>'); onload=function(){ document.getElementById('main_page_id').innerHTML = document.getElementById('object_id').object.documentElement.innerHTML; } </script> <![endif]--> <!--[if ...
<!--[if IE]> <script type="text/javascript"> document.write('<object type="text/html" id="object_id" width="0" height="0" data="menu.html"><\/object>'); onload=function(){ document.getElementById('main_page_id').innerHTML = document.getElementById('object_id').object.documentElement.innerHTML; } </script> <![endif]--> <!--[if
Updated 05-05-2009 at 10:49 PM by molendijk (Correction)
Have you ever noticed that ugly dotted border when you click a link? Here's how to make it go away and stay away. (Please don't laugh at the puny size of this tidbit.) Code: a { outline: none; }
a { outline: none; }
Updated 04-28-2009 at 10:12 PM by ddadmin
I have been wondering for quite a while how, in Photoshop, to fade between two images. After all, the gradient tool has no "Image to Transparernt" gradient. Well, I was making some graphics for a website yesterday and I had to select part of my dog's fur and tile that part of the image as a page background. However, there were no "tileable" parts, so I instinctively feathered the selection so her furs wouldn't clash with each other. When I did this, I noticed a transparent ...
Updated 04-28-2009 at 10:13 PM by ddadmin
Originally Posted by Nile Here's the code I came up with: HTML Code: <style type="text/css"> div.advertise { } div.advertise div.row { clear: both; margin: 1px; padding: 1px; min-height: 45px; } div.advertise div.row div.ad { border: 1px solid #D8D6CF; margin: 2px; padding: 2px 0px 0px 0px; width: 117px; height: 45px; text-align: center; float: left; } ...
<style type="text/css"> div.advertise { } div.advertise div.row { clear: both; margin: 1px; padding: 1px; min-height: 45px; } div.advertise div.row div.ad { border: 1px solid #D8D6CF; margin: 2px; padding: 2px 0px 0px 0px; width: 117px; height: 45px; text-align: center; float: left; }
Yesterday, April 9th was the fourth annual CSS Naked Day. Participating websites get rid of their stylesheets and feed their naked markup to the world. The reason for this is to promote web standards and semantics. To learn more about this and sign up (for next year) go to this page: http://naked.dustindiaz.com/ P.S. I know it would have been better if I posted this before April 9th but I forgot about it. Well, instead of seeing this as a late post about ...