Currently Browsing: Home » Posts tagged 'html'

Posts Tagged ‘html’

Working with Addresses? Use the new Google Maps API!

Would you like to travel to Paris? Maybe Singapore? How about Hawaii? Many people love to travel to discover new places, meet family, or just have a great time. In order to get from place to place, they often use maps. Indeed, maps are a vital part of traveling, providing directions to new, exciting locations.

Maps

With the new technology age, maps have moved from tangible paper to the virtual world, allowing anyone to access them with a simple visit to Google Maps. More importantly, with the new Google Maps API Version 3, it’s simple to integrate these maps into any website.

In the following article, I’ll be explaining how to get started with the new API and embrace the technology from the folks at Google.

Read the rest of this entry »

Adding Tooltips to Option Tags

A short while back, Abhilash SR commented on our poll with a question that he had:

Is there any way to show the select box text as [a] tool tip when user moves the mouse down the list?

In other words, Abhilash would like to know whether it’s possible to add tooltips to option tags. Luckily, the answer is yes!

Read the rest of this entry »

Placing Links In Images

Many of us love to use vivid, clean images to enhance a website design. Unfortunately, it may be necessary to embed links into such an image, which can be a hassle.

In this article, we will present a quick and easy way to add links to your images using a small amount of HTML markup and CSS.

To begin, we must initialize our HTML. For this example, we will use the logo presented by Patrick Lin in his previous article:

It contains the following HTML:

<div id="logo">
	<h1><a href="/" title="Home Page"><span>Sample Logo</span></a></h1>
</div>

Read the rest of this entry »

Creating Clever Logo Banners

Good designs are always clever. They need something to help them stand out from the rest. Here’s how to create a clever logo banner that looks good and is SEO Friendly, like the one Lateral Code uses, using an image and some clever CSS.

The first step is to create the banner. For demonstration purposes, the following banner will be used:
Sample Logo

This is the markup involved:


<div id="logo">
	<h1><a href="/" title="Home Page"><span>Sample Logo</span></a></h1>
</div>

Read the rest of this entry »

5 Simple CSS Tricks

CSS can be the key to make or break a site design. To enable you to create and edit your own template, we have decided to present 5 Simple CSS tricks. Please feel free to directly use the code shown here in your own site.

  1. Reset Values

    Many web browsers have default CSS settings for HTML elements. Unfortunately, these settings differ across each browser. In order to maintain a similar look of your site in multiple browsers, resetting these values is a must. Here is a quick reset snippet commonly used:

    * {
         margin: 0;
         padding: 0;
    }

Read the rest of this entry »

« Older Entries