devxlogo

Web Development

Highlight Text with the Span Tag

The  tag can be used to add highlights to text. You can choose the color of the highlight. The code looks like this: This is highlighted text.

Manage Maintenance on an ASP.NET Site

Create a file called app_offline.htm with an appropriate maintenance message. Just place this file in the root directory of the web application. IIS and the ASP.NET Framework will stop serving new

Using the CSS Clip Property

CSS clipping is another powerful feature. The shape’s edge is called the clip-path, and clipping shows what image area should be visible. Clipping is about hiding what normally would be

Try Using SVG for Animation

Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics. As the name suggests, SVG is used to scale, so it very handy when comes to responsive

Forget Tables, Try Divs

One of the main advantage of CSS is using the to achieve total flexibility in terms of styling. In the the contents are ‘locked’ within a cell. It’s safe to

CSS Debugging Tools

It’s always a good idea to get an instant preview of the layout while optimizing your CSS code. It helps you to understand and debug CSS styles better. There are

Replace Text with Image in CSS

The snippet of code below is a common practice to replace title from a text-based title to an image: h1 {text-indent:-9999px;background:url(“title.jpg”) no-repeat;width:100px;height:50px;} Explanation: text-indent:-9999px; throws your text title off screen,