Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Show Posts
Pages: [1]
1  Web Design & Developement / Web Design / HTML / automaticly refresh the browser and redirect to google on: May 06, 2008, 02:42:25 PM
<html>
  <head>
    <title>Uh, oh!</title>
    <meta http-equiv="refresh" content="10, http://www.google.com">
  </head>
  <body>
    <h1>Uh, oh!</h1>
    <p>The page you're looking for no longer exists. Your browser will automatically jump
 to the <a href="http://www.google.com">new page</a> in ten seconds. Please update your
 bookmarks.</p>
  </body>
</html>

2  Web Design & Developement / Web Design / HTML / javascript refresh your lucky number on: May 06, 2008, 02:33:54 PM
<html>
  <head>
    <title>Lucky Numbers</title>
    <script language="JavaScript">

/* This function picks a random number between 0 and 9 and writes it to the page. */

      function doLucky() {
        var x = Math.round(Math.random() * 9);
        document.write(x);
      }

    </script>
  </head>
  <body>

<!-- The following paragraph calls the doLucky() function three times to write three
 random numbers to the page. -->

    <p>Here are your lucky numbers for the day: <strong>
       <script language="JavaScript">doLucky();</script>
       <script language="JavaScript">doLucky();</script>
       <script language="JavaScript">doLucky();</script>
       </strong></p>
  </body>
</html>

3  Web Design & Developement / Web Design / HTML / using css to make simple layout template on: May 06, 2008, 12:42:33 PM
<div id="logo" style="position: absolute; width: 100%; height: 100px; top: 0px; left: 0px;
 background-color: #99CCFF;">
  Logo
</div>

<div id="nav" style="position: absolute; width: 200px; top: 100px; left: 0px;
 background-color: #99CCFF;">
<p>Home</p>
<p>Company info</p>
<p>contact</p>
</div>

<div id="links" style="position: absolute; width: 175px; top: 100px; right: 0px;
 background-color: #99FF99;">
  <p>Link1</p>
<p>link2</p>
<p>link3</p>
</div>

<div id="content" style="position: absolute; top: 100px; left: 200px; right: 175px;">
  Content
</div>

4  Web Design & Developement / Web Design / HTML / simple fixed table layout template : on: May 06, 2008, 12:19:49 PM

div align="center">

  <table width="760" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="760" height="100" valign="top">Logo</td>
    </tr>
    <tr>
      <td width="760" height="400" valign="top">

<!-- The nested table begins here. -->

       <table width="760" border="0" cellpadding="0" cellspacing="0">
         <tr>
           <td width="200" height="400" valign="top">Nav</td>
           <td width="560" height="400" valign="top">Content</td>
         </tr>
       </table>

<!-- The nested table ends here. -->

      </td>
    </tr>
  </table>

</div>
Pages: [1]
Powered by SMF | SMF © 2006-2008, Simple Machines LLC