How to Add Alternate StyleSheets?

The concept of alternate stylesheets is exactly as the name suggests using alternative stylesheets to change the look of a web page with a click. This makes the website utilizing this technique a little more personalized. The other inherent benefit of this feature is complete separation of content and presentation in a web page, the ideal goal for any website.

Adding an alternate stylesheet is pretty easy. Continue reading How to Add Alternate StyleSheets?

Comment Tags Can Cause Content Duplication In IE

At ECommerce Partners, we are required to code in XHTML and add relevant comments in between the codes to adhere to good coding practice. When the website layout is complex and we want to code the web page in XHTML, then we do have to use floating div’s. Sometimes, all this might give rise to weird problems in Internet Explorer (IE) as seen in the following two screenshots:

Continue reading Comment Tags Can Cause Content Duplication In IE

How to Add Favicons?

Favicon (FAVorite ICON) is a multi-resolution image usually representing a company’s logo.

At ShrutiGupta.com, you will see my Favicon in the address bar just before the URL. The image will also show up next to the website title when you save the web page in the Favorites folder. Adding Favicon to a website not only makes it look professional but also, helps the branding of the company logo. Favicon has the potential to make a lasting impression on the visitors and hence it helps promote brand recognition. Continue reading How to Add Favicons?

SHTML Makes Updating Website Easy

About a year ago, when the client services department told us that the client wants to change an element on the website sitewide, we in the html production department would frown especially if the site happened to be more than fifteen pages. Not anymore! SHTML has made our task so easy that we encourage our clients to make changes, to ensure one hundred percent satisfaction of our clients.

SHTML (Server parsed HTML) is an html document that requires parsing on the server before it is sent to the client browser. All the normal html tags work exactly same in shtml document. The only difference is that shtml document lets us include other elements into the html document. The extension of such document is as .shtml rather than .html, where S stands for Server Side Include. Continue reading SHTML Makes Updating Website Easy

How to Create Columns with Div’s?

When I started using div’s rather than table for web page layout, the most daunting experience for me was how to create columns using div’s. So, here is the solution for all those website developers who are struggling to use div’s for web page layout.

The <div> tag can be defined as the division in a web page. It is a block level element. This implies that the default behavior of div’s is to stack up one above the other. This serves the purpose of using div’s for a simple web page layout where all the elements stack one above the other. When we have a columnar web page layout (which happens to be the most common layout for majority of the websites), we need to know how to use div’s to create two or more columns in a web page. Continue reading How to Create Columns with Div’s?