Using CSS Style Tags For Mouseover Link Effects

(Internet Explorer)
If you're looking for a great way to spice up your HTML web page links, you can easily do so with style tags.


In this example, the active text link is underlined with the color set to #0000FF. When the mouse is placed over the link, the text color will change to #FF0000 and the underline disappears.

Place the <STYLE> tag between your <HEAD> and </HEAD> tags.





<STYLE>
<!--
A:active { color:#0000FF; text-decoration; }
A:hover { color:#FF0000; text-decoration: none; }
//-->
</STYLE>
Edit the text indicated in bold to suit your needs.

Partner site : online news

How To Make Your Web Page Background Image Stationary

(Internet Explorer)

If you'd like to display a stationary image behind your text, you can do so by adding attributes to your HTML body tag.

Stationary background images remain in one place even when scrolling through the page. Only the text will move. To create this effect, place the code below within your <BODY> tag.

<body background ="yourimage.gif" bgproperties="fixed">
Edit the text indicated in bold to suit your needs.

When selecting your background image, keep in mind that your text will be moving over your image, so try to select an image that won't make your text difficult to read. To prevent your background image from tiling (repeating), place the following code between your <HEAD> and </HEAD> tags.

<STYLE TYPE="text/css">
<!--
BODY { background-image: url(yourimage.jpg) }
BODY { background-repeat: no-repeat }
BODY { background-position: center }
-->
</STYLE>

Using a stationary image background provides a great way to enhance your web page.



Partner site : online news


Protect Your Email Address From Spam Robots



If you are displaying your email address on your net web site, you'll be unknowingly setting yourself up to receive plenty of spam email. sadly, spam robots are continuously crawling the web in search of email addresses they'll use to not solely send spam, however conjointly sell to alternative spammers.



However, though it is very troublesome to guard yourself from receiving spam email, there's the simplest way you'll be able to still show your email address on your net web site and shield it at constant time.

Instead of displaying the same old mailto:you@yourdomain.com email link at intervals your website, use the subsequent code at intervals your HTML:
<A HREF="mailto:you&#64;yourdomain.com">Contact Us</A>

When your email link is clicked on, it'll show your email address properly.
Change the e-mail address within the example on top of to the e-mail address you'd prefer to show.

By using this easy very little code, you'll be able to shield your email address from spam bots.



Partner site : online news

Spacing Your Images


If you are in want of an HTML code that may enable you to specify the spacing between your pictures, this HTML code is for you.

In the example below, though the photographs are a similar, they are not diplaying a similar, as their vertical and horizontal alignment is completely different.

These pictures haven't been placed among an HTML table and are not aligned via CSS. they're being displayed via the HSPACE and VSPACE attributes, which can enable you to specify the horizontal and vertical spacing between your pictures.


<IMG SRC="yourimage.jpg" hspace=10 vspace=10 WIDTH="96" HEIGHT="134" BORDER="0"><IMG SRC="yourimage.jpg" hspace=5 vspace=5 WIDTH="96" HEIGHT="134" BORDER="0">

You can specify the horizontal and vertical spacing by editing the VSPACE and HSPACE values.



Partner site : online news


Open a new window on page unload

If you're looking for a way to open a new window when you leave a web page, this code may be what you're looking for.

This HTML code will open the web page you specify as soon as you leave the original web page.

This provides a great way to gain new subscribers to your publication, introduce a product or whatever you'd like.

Opening a new window on page unload, or in other words, when your visitor is leaving your page is also a great way to make one last try to make a sale. You're visitor is leaving your site anyway, so this is your last chance to sell them. Make it count.

If you don't have a special offer of your own to introduce, use the window to open an affiliate site that you may be promoting. This provides a great way to bring the affiliate site to their attention and even make a sale.

Place the following code, indicated in bold, within your web page's BODY tag:
<body onUnload=window.open('http://www.domain.com'); self.blur();>
Change the web address to the page you would like to open.



Partner site : online news

Auto Fill Email Subject and Body

If you're using a list management system that requires specific text to be placed within the email subject or body of your email, this HTML code is for you.

Many times, if you request your visitors to type in a specific email subject or body text in order to subscribe to your publication, they may not type the required text correctly. This mistake will cause you to lose your subscriber, as your system will reject the subscription request.
 
To prevent this problem, you can create an email link that will automatically fill in the subject line and body when clicked on.
you@yourdomain.com
Add the following code to your HTML.


<A HREF="mailto:you@yourdomain.com?subject=Your Subject&body=Message for the body">you@yourdomain.com</a>



Partner site : online news