Conditional Comments

Conditional comments only work in Explorer on Windows, and are thus excellently suited to give special instructions meant only for Explorer on Windows. They are supported from Explorer 5 onwards, and it is even possible to distinguish between 5.0, 5.5 and 6.0.

A very good article by Quirksmode.org about conditional commenting for MSIE. Since CSS standards aren’t carried well by he various web browsers, not to mention any names, this comes in quite handy. Sadly only Microsoft supports it, but since they’re the ones not following standards (oh wait, I wasn’t going to mention any names, was I?) it works out well. Simply enclose your style sheet call like so:

<!--[if IE]>
<link rel="stylesheet" href="iestyle.css">
<![endif]-->

And then make your corrections/tweaks in that file. I would go more in depth on the matter, the link details it better than I could.

Reference

Tags: , , , , ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

Mystical Yellow Form Fields

Several of the webpages I’ve developed have had a strange problem of certain text fields appearing with a yellow background. I spent countless hours looking into this, as it really annoyed me. The strange part was that it only happened with MSIE. After finally giving up, and just accepting this weird bug, I stumble upon the answer by luck. Turns out it was the Googlebar I had installed… well I’ll be damned.

Reference

Tags: , ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

ASP MagicGrid

I stumbled upon a site called CodeToad today, in itself its a handy page — lots of different scripts available. However I nearly bit my tounge when I saw this one.


This script is written in ASP 3.0, and it set up to work with an Access database, however it is quite easy to make it work with any other database. You can easily Add, Edit or Delete records, as well as Cut, Copy and Paste through drag and dropping. Very handy little script, and very well written.

Last summer I spent countless hours trying to write a datagrid script like this, from scratch. It was a feature I was accustomed to in ASP.net and could not find a prewritten script anywhere… and believe me I tried. I finally gave up on writing my own, due to the issue that I was running low on time and knew that I could just use ASP.net to make one. However almost a year later I find myself stumbling upon something I had searched so hard to find… Go figure.

So in case I find myself needing this again, or some visitor of this site should like to make use of it, here is the link.

Source

Tags: ,

  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments
 Page 71 of 71  « First  ... « 67  68  69  70  71