In CSS, selectors are patterns used to select the element(s) you want to style. If you are looking for a CSS wildcard or CSS Regular expression then what you might be trying to find is a CSS Attribute Selector. Continue reading
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 if you are having trouble getting your forms based authentication to work in… Continue reading
There are several tutorials on how to make CSS sticky footers, sticky headers, and sticky sidebars. This is one. There is a working demo to check out.
Remember to compensate at the bottom of your page. If your sticky footer is 75px high, add 80px padding or margin so that the sticky footer doesn’t cover the content at the bottom of your page. The 2 main CSS elements for the sticky footer are
position: fixed; and
The important thing to understand about
position: fixed; in a sticky footer is that it’s in a fixed position relative to the element or “container” it’s in. Continue reading
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 these four functions. Continue reading
CSS Center - This short tutorial and snippet will show how to center with CSS. Continue reading
*using navigator.userAgent can make you vulnerable to spoofing. Here is a lengthy article.
This vertical menu knows how far to animate by getting the width of the div it’s located within.
This tutorial shows snippets, explanations, and there is also a demo.
Here is the basic concept:
Total Width – Anchor Text Width = Movement Width Continue reading
“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 and 5 clear floats by applying the CSS clearfix class in a different manner. The clearfix is applied to a div tag that contains the floated items.