How to Make the Background of a Div Semi-Transparent?

If you look below, the light gray div over the darker one is transparent. As a result, the content inside the darker gray div shows up through the light gray div over it. This capability can enable us to create really attractive designs. It’s really simple to do it. If you are interested, just read along.
Continue reading How to Make the Background of a Div Semi-Transparent?

How I found Sahaja Yoga?

I have been practicing Sahaja Yoga since 1985. Although it seems long but I have a long way to go to become a Sahaja Yogi in the real sense of the word. If I look back, I do feel that I have evolved as human being as far as my spiritual growth is concerned. Although, I admit that sometimes I do get caught up in mundane issues of life. Yet, I’m trying my best.

Today, I want to share with you – how I found Sahaja Yoga. Continue reading How I found Sahaja Yoga?

Unclickable Links Can Be Spidered

Copy the URL of this page and submit it to Search Engine Spider Simulator. You will notice that even though the following links for Style 1, Style 2 and Style 3 aren’t clickable they can be spidered by search engines.

<a xhref="http://www.shrutigupta.com/#" mce_href="http://www.shrutigupta.com/#" onClick="setActiveStyleSheet(Style 1); return false;">Style 1</a>
<a xhref="http://www.shrutigupta.com/#" mce_href="http://www.shrutigupta.com/#" onClick="setActiveStyleSheet(Style 2); return false;">Style 2</a>
<a xhref="http://www.shrutigupta.com/#" mce_href="http://www.shrutigupta.com/#" onClick="setActiveStyleSheet(Style 3); return false;">Style 3</a>
Continue reading Unclickable Links Can Be Spidered

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