Tag Archives: html

Z-Index, iFrames, and IE

5 May

Problem I’m using the Apprise jQuery plugin to show a fancy alert box on a webpage.  The problem is I also have the embedded iFrame code from YouTube on the page.  When the fancy alert box shows in Internet Explorer, it shows behind the video.  It works in all other browsers.   Solution The solution [...]

Space Under Image Link

20 Mar

Problem I had the following code like so: <div class=”someborder”><a href=”#”><img src=”someimage.png”></a></div><div>some text</div> The class “someborder” basically made a border around the image.  The problem was that there would be some space under the image and then the border would show.  I took off all padding and margins on the image and divs and the [...]

Favicon png or ico?

18 Oct

I found some great info, where I always do, on stackoverflow.  Basically it all modern browsers request a ico file so its best to have it in case you don’t have a <link> tag.  The best thing was the ico generator url on Dynamic Drive which does transparency.  Just great stuff.  Scroll down to the [...]

CSS Height 100%

21 Sep

Problem I have a fixed footer and some content with a background.  The designer wants the content background to expand all the way to the bottom whether there’s a lot of content or no content at all.  This seemed relatively easy, just put height:100% in the content and all its parent containers.  That didn’t work, [...]

Firefox Table Row Height

30 Apr

Problem In Firefox and Chrome, having a table with an image of height 1 causes the row height to be 6px.   Code as shown below:   <table height=”1″> <tr> <td><img src=”images/spacer.gif” width=”170″ height=”1″ alt=””></td> <td><img src=”images/spacer.gif” width=”163″ height=”1″ alt=””></td> <td><img src=”images/spacer.gif” width=”334″ height=”1″ alt=””></td> <td><img src=”images/spacer.gif” width=”153″ height=”1″ alt=””></td> <td><img src=”images/spacer.gif” width=”180″ height=”1″ alt=””></td> [...]

Convert Mac dfont files to TTF format

13 Mar

Windows only accepts TTF font files while Mac format’s their font into Dfont format.  This tool by Peter Upfold lets you convert those beautiful Mac fonts into windows format.  Then with your TTF fonts you can upload them to http://www.font2web.com/ or http://onlinefontconverter.com and make web fonts! http://peter.upfold.org.uk/blog/2008/03/11/dfontsplitter-convert-dfont-files-to-ttf/ What to do about PostScript type files? Say you thought [...]

Images not showing in my browser

24 Feb

Problem I created a site with temporary ad images.  It shows fine in chrome, firefox, safari, internet explorer (it’s a miracle) on pc, but some images do not show on chrome for mac.  What’s wrong?   Solution Some things to try: View just the image in the browser.  If it shows skip past this list. [...]

apos in IE – no work!

18 Sep

There is nothing so irritating as somebody with less intelligence and more sense than we have – Don Herold Problem Microsoft Internet Explorer is displaying &apos; while other browsers are displaying a single quote. Solution IE has apparently decided to follow standards on this rule, but once again didn’t follow the crowd.  &apos; is not [...]