Lateral Code
A Web Design Blog Focused on Code and Technology
Currently Browsing: Home » Posts tagged 'html'
Posts Tagged ‘html’
Working with Addresses? Use the new Google Maps API!
By Karthik Viswanathan on Monday, July 12th, 2010 | Tags: html | 1 Comment »
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.

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.
Adding Tooltips to Option Tags
By Karthik Viswanathan on Thursday, March 19th, 2009 | Tags: html, question | 2 Comments »
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!
Placing Links In Images
By Karthik Viswanathan on Thursday, January 29th, 2009 | Tags: css, html, tutorial | 1 Comment »
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>
Creating Clever Logo Banners
By Patrick Lin on Monday, January 26th, 2009 | Tags: css, html, tutorial | 3 Comments »
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:

This is the markup involved:
<div id="logo">
<h1><a href="/" title="Home Page"><span>Sample Logo</span></a></h1>
</div>
5 Simple CSS Tricks
By Karthik Viswanathan on Friday, January 23rd, 2009 | Tags: css, html | 1 Comment »
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.
- 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; }