Here we will explore 5 different CSS clearfix options. A “CSS clearfix” is often needed to clear floats.
Examples 1-3 clear floats by applying a CSS class to a p tag. The p tag holds a “non-breaking space” - ascii code for space is “ ”Examples 4...
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 to use and powerful JScript and...
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 IIS has been very strong, does...
There is a function called ispostback in asp.net. However there isn’t one in PHP. You use do it to check if a page is a postback. The snippet of code below will create a PHP ispostback function.
// Determine whether the page...
jquery window width, you’ll need it if you’re working with Responsive Design and/or need to figure out the width of the browser Window? Are you using a responsive design layout and using viewport, but need a way to determine window width? jQuery width() and jQuery resize() can...
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 it.
*Note – This tutorial will help...
In this post I want to show you how I like to go about creating a state machine. A state machine is usually used (or at least, I use it) for things like the game states (pause, playing, gameover,ecc) or AI...
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 Cache we can use HttpRuntime.Cache to...
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...
There are several tutorials on how to make a CSS sticky footers sticky header, or sticky sidebar. This is one.
Remember to compensate at the bottom of your page...
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 of a...
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...
Javascript browser detection can be useful. This is called user agent sniffing. jQuery had the function “.browser” which would detect the users browser, but...
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...
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...
This will show how to make RSS icon display in browsers with RSS feed integration.
Most CMSs will automatically add the code needed for an RSS feed to be displayed in supported browsers. However, if you need to add...
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...
Here we will explore 5 different CSS clearfix options. A “CSS clearfix” is often needed to clear floats.
Examples 1-3 clear floats by applying a CSS class to a p tag. The p tag holds a “non-breaking space” - ascii...
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...
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 of choice, Design View, Source View, or Split view.
Click “OK.” Then restart...
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:...
jquery window width, you’ll need it if you’re working with Responsive Design and/or need to figure out the width of the browser Window? Are you using a responsive design layout and using viewport, but need a way to determine window...
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 of a URL#somewherehostReturns the hostname and port of a URLwww.domain.com (will...
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...
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...
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...
Javascript browser detection can be useful. This is called user agent sniffing. jQuery had the function “.browser” which would detect the users browser, but...