The Developers Dilemma usually takes two forms:
If Only I could XOr, How Do I X
Usually followed by a flurry of Google Searches and, depending on the platform/language you are programming in, either success or failure.
Often though, if the solution requires downloading...
Here are the doctype declarations for you. Short and sweet
HTML Doctypes:
HTML 5 Doctype
<!DOCTYPE html>
HTML 4.01 Strict Doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
XHTML Doctypes:
XHTML 1.1 Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
XHTML 1.0 Transitional Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML 1.0 Strict...
CSS Center - This short tutorial and snippet will show how to center with CSS
CSS Center HTML
<body>
<div class="centerMe">
<!-- Put centered content here -->
</div>
</body>
CSS Center
This CSS centering includes styling that may be required for older versions of...
There are several CSS generators out there. Many do the same things. Soo… To keep you from sorting through several different generators, here are my favorites to save some time. Some browsers have different quirks, prefixes, etc., but these generators should...
There are several tutorials on how to make things “sticky” using CSS. We will make a “sometimes sticky” element using CSS and jQuery. Here is an article on CSS sticky footers to help you understand before we move onto the “sometimes” part using...
To get the below URL Rewrite code to work in IIS, you must first install the URL Rewrite module. The URL Rewrite module is not installed by default. The IIS URL Rewrite module may be a better solution than HTTP Redirect...
CSS wildcard or CSS Regular expression? - You may be looking for CSS Attribute Selector.
CSS Attribute Selector - Here’s the scenario: You want to add styling to all elements that have “read” in the name of the class.
For instance: Below classes have some of the...
Two of the three javascript window location object methods seem to do the same thing. They do not. The window location methods are assign(), reload(), and replace(). The reload() method does what you think. Both assign() and replace() appear to simply open a new page.
So…Uhhh….. What’s the...
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your default view...
CSS wildcard or CSS Regular expression? - You may be looking for CSS Attribute Selector.
CSS Attribute Selector - Here’s the scenario: You want to add styling to all elements that...
Two of the three javascript window location object methods seem to do the same thing. They do not. The window location methods are assign(), reload(), and replace(). The reload() method...
Ever noticed that FireFox applies a border/outline around links. This CSS snippet will remove dotted line around link.
If this is what you are trying...
Javascript window location object properties contain information about the current URL. For example” location.pathname” returns “/subdirectory/search.”
Example URL: http://www.domain.com/subdirectory/search?filter=a#somewhere
Javascript Window Location Object Properties
PropertyDescriptionReturnshashReturns the anchor portion...
These control naming conventions may help provide some organization. Visual Studio sets Name properties to defaults for controls, like Label2. Using these conventions it would be...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of...
Enjoying our content?
Subscribe and receive a weekly newsletter packed with awesome stories to inspire you!
This tutorial will show how to use jQuery append. It will also show how to append after and append before. Append actually means to add after. But this will show you how to use jQuery to insert content with...
This tutorial will show you how to make the ASP.NET forms authentication work with SQL Server using the provided ASPNETDB.MDF file. Then it will show you how to properly configure your web.config file to use...
Javascript browser detection can be useful. This is called user agent sniffing. jQuery had the function “.browser” which would detect the users browser, but it was removed in jQuery version 1.9. They now recommend “.support”...
jQuery $(document).ready() is a basic part of using jQuery. The jQuery document ready function executes when the DOM (Document Object Model) is completely loaded in the browser. jQuery document ready is used to initialize jQuery/JavaScript...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of caching technology. I said today Cache refers specifically to the ASP.NET...
In the Asp age NetBox can the entire ASP website allinone packaged into an exe, in the case of IIS can run the exe to open the entire site. Asp.Net been no similar products may...
Famous WSH heard? He is the short form of the Windows Script Host, WSH is a Windows platform scripting command, his function is very powerful, and he was using the grammatical structure is simple, easy...
In order to run ASPNETWatchDog, your system must have Microsoft .NET Framework installed. For more information about Microsoft .NET Framework, please visit MSDN .NET web site on http://msdn.microsoft.com/net/ .
This release (V1.0.793) of ASPNETWatchDog has been...
C++ isn’t a simple programming dialect to ace. Just through experience will the horde mixes of images begin to appear to be normal to you. This Cheat Sheet, nonetheless, gives you some strong tips on...