Lucrative Web Development

Google

Saturday, April 29, 2006

Cool CSS Tricks You Can Use :-)

CSS or Cascading Style Sheets allow you to implement a few neat effects on your webpages easily. You can implement these CSS effects on your site by simply copying and pasting the code.

ROLLOVER COLOR TEXT LINKS
Have your text links change color when the mouse passes over them by inserting this code into the HEAD of your document:

<style type="text/css">
<!--
A:hover {color:red}
-->
</style>

LINKS WITH NO UNDERLINE
Remove the underline from any or all of the links on your page by putting this in the HEAD of your document:

<style type="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--></style>

Or, remove the underline form individual links by forming them like this:

<a href="page.html" style="text-decoration: none">link</a>

LINKS WITH A LINE ABOVE AND BELOW THEM
This is an interesting look that works especially well as a hover attribute for your links, but can also be applied to all of your links. It will show the normal underline and a line above the link:

<style type="text/css">
<!--
A:hover {text-decoration:overline underline}
-->
</style>

HIGHLIGHTED TEXT
Highlight important text on your page or words you want to stand out, easily:

<span style="background-color:yellow">highlighted text</span>

Try adding it to your link hover for a neat effect:

<style type="text/css">
<!--
A:hover {background-color: orange}
-->
</style>

BACKGROUND IMAGE THAT ISNT TILED
This will create a background image that doesn't repeat:

<style type="text/css">
<!--
BODY {background: #ffffff url(bg.gif) no-repeat}
-->
</style>

You can also center it, however it will be centered as the background of the entire document, not centered on the screenful:

<style type="text/css">
<!--
BODY {background: #ffffff url(bg.gif) no-repeat center}
-->
</style>

Saturday, April 15, 2006

Getting Profits From Your '404 Page Not Found' File

"'Page Not Found' on this Server. Check the URL and try again. Or Refresh the page..."

This is the annoying error that we will come across every time we surf the web pages. Internet will be changing every minute and day. The web sites that were here are not found next day. The web pages that were here with '/page.html' are changed to '/page1.html' next day.

Webmasters update their sites and change the links and content. While they doing so most of them forget one important thing.

"What will happen if somebody bookmarked this page and try to visit next time?"

Simple...Those people will see these '404 Page Not Found Errors'.

Let me tell you some tips how to avoid all these tiny mistakes and get something from these error pages.

**Custom Error pages:**

Most of the hosting companies allow to create error pages as you like with your own Html and upload to your website. If you don't upload your error pages the server displays default server error pages.

Utilise this oppurtunity. Create a page with any of the following:

  1. Put links to other parts of your site. Links to main pages is enough to navigate back in to your site. 2. Direct links to your products.

  2. Promote your Affiliate links

  3. Offer something free from this page like free ebooks, free email course etc.

  4. Your Ezine subscription

  5. Discount on your product

  6. If you are conducting some polls on your site you can keep that poll on these pages too.

  7. Keep an email link on error pages and you can request your visitor to inform you about the error.

All these keeps your visitor some more time on your web site. Every link above will be a benefit for you.

**Watch Your Bandwidth:**

DON'T put too much Html or graphics on these error pages. By the time they will download your visitor might hit the back button or get out of the site.

Lot of graphics also increases your bandwidth usage. The web sites are continually attacked by viruses. If you have a good web logger and check it once in a while you will see some hundreds of page requests with '404 errors'. All these 404 errors drain your bandwidth. So keep an eye on size of error pages.