Archive for the ‘HTML’ Category

Putting corners using a single image with CSS

  1. The corner image (26 x 26 pixels)
  2. In the CSS file, it only display 13 x 13 pixels of the background image. The background-position property chooses which portion to be displayed.:

    .box .tl, .box .tr, .box .bl, .box .br
    {background-image:url(Images/corners.gif); background-repeat:no-repeat; width:13px; height:13px}
    .box
    .tl {background-position: left top}
    .box
    .tr {background-position: right top}
    .box
    .bl {background-position: left bottom}
    .box
    .br {background-position: right bottom}

  3. In the web page:

    <table cellpadding=”0″ cellspacing=”0″ class=”box”>
    <
    tr>
    <
    td class=”tl”></td>
    <
    td class=”t”></td>
    <
    td class=”tr”></td>
    </
    tr>
    <
    tr>
    <
    td class=”l”></td>
    <
    td class=”c”>
    <
    asp:ContentPlaceHolder ID=”ContentPlaceHolder1″ runat=”server” />
    </
    td>
    <
    td class=”r”></td>
    </
    tr>
    <
    tr>
    <
    td class=”bl”></td>
    <
    td class=”b”></td>
    <
    td class=”br”></td>
    </
    tr>
    </
    table>

Other thought:
I should have used <div> instead of <td>…Now I know more.

Hyperlink MailTo Syntax

The MailTo command can do more than enter a single e-mail address in the “Send To” field while activating your e-mail program. It can also:

Feature Syntax
Address message to multiple recipients ,   (comma separating e-mail addresses)
Add entry in the “Subject” field subject=Subject Field Text
Add entry in the “Copy To” or “CC” field cc=id@internet.node
Add entry in the “Blind Copy To” or “BCC” field bcc=id@internet.node
Add entry in the “Body” field body=Your message here
Within the body use “%0A” for a new line,
use “%0A%0A” for a new line preceded by a blank line (paragraph),
see example below.

Example:
<a href=”mailto:www@internet.com?subject=Comments from MailTo Syntax Page?bcc=id@internet.com?body=hello world%0Afrom NYCharles”>

Source:
http://www.ianr.unl.edu/internet/mailto.html