Category: Developement

How to change IE11 Useragent

I recently tripped on a need to change the Useragent string for IE11 because of an older DotNet control that I was using and was no longer in development. Again this is not my solution, but it worked for me

Posted in Developement, DotNet, Web Tagged with:

IE11 Thinking it is a Cookieless Browser

Recently I had an issue where IE11 did not want to track cookies turning IE11 into a Cookieless Browser.  I learned quickly this is the default behaviour of the browser unless you uncheck a no-tracking option during its setup.  You

Posted in Developement, DotNet, Web Tagged with:

Example of Smooth Scrolling

For one of my projects I came up with a simple jQuery example to create a smooth scrolling effect. The nuts and bolts of the script is the following.

Posted in Developement, jQuery, Web Tagged with:

How to use SQL to Extract a Number from a String

Recently I had a need to extract the number from a string in the database.  The string would be something like ‘Monitor 16″‘ or “16 inch Monitor”.   I would need to get the size for various reasons including fees

Posted in Developement, How To, SQL Tagged with: ,

MaxMind GEOIP Look-up for Microsoft SQL

Recently I implemented a GEOIP solution on a client site; however, the site was built on a Microsoft SQL database engine and I could not find a solution for looking up the country name easily.  Through some quick Google searches

Posted in Developement, How To, SQL, Web Tagged with:

Posting Data From HTML to ASPX

Recently I had a need to have a web site post credentials to another web site.   The first site was standard HTML and the second site was DotNet (ASP.NET). In this example, we will be passing a user name and

Posted in ASP, C#, C-Sharp, Developement, How To, Web Tagged with: , , ,

HTML Centering DIV Tag ( DIV Element )

The easiest way without JavaScript to center a DIV tag is to use a style tag or css that resembles the following. style=’padding:5px;width: 400px;height:200px; margin-top:-100px; margin-left:-200px; left:50%;top:50%; border:outset 1px #ccff99; background-color:#ccff99;position:absolute;font-weight:normal;’ Sample Image

Posted in Design, Developement, Web Tagged with: , , , , , ,

Making Your Web Page Accessible

It seems like a lot of work to make your web page accessible for people with sight impairment, and the audience seems small, but it is worth it. There are a couple of things that web developers often miss when

Posted in Design, Developement, Web Tagged with: , , ,