Trent Wyman


HTML Scripts

Designing an HTML email that renders consistently across the major email clients can be very tedious and time consuming. Support for even simple CSS varies considerably between email clients, and even different versions of the same client. Here...

Title Element

The page title element (some refer to it as the title tag which is incorrect) is one of the most important factors for ranking highly in the search engines.

Page title elements are normally 3-9 words (...

To display text within a form field and have that text disappear when a user clicks inside the field, add one of the following scripts to the element:

Example 1:
<input onfocus="this.value=''" type="text"...

There are times when browsers render CSS and HTML differently depending on the platform and browser being used. Usually, I can check for cross-browser consistency using only Windows and variety of installed browsers for Windows (Internet Explorer...

In order to display HTML code on a web page as text, the "<" & ">" opening & closing characters need to be converted to:

< = &lt
> = &gt

Example:

&lt;a href=http://www.wy...

Below is a quick reference to apply styling to a horizontal rule using CSS.

hr {
margin:0px;
padding:0px;
width:190px;
height:4px;
color:#ff6600;/*-- set color for IE --*/
background-color:#...