View Single Post
Old February 2nd, 2008, 06:53 PM
da_moma's Avatar
da_moma da_moma is offline
Registered User
Join Date: Feb 2004
Location: USA
Posts: 265
Can someone tell me what is wrong

With this code,

I have a friend who is doing this web page for a class and they have to code the background image to run the left side of the page.

Here is her code:

   New Perspectives on HTML and XHTML
   Tutorial 3
   Case Problem 3

   ICI Home Page
   Author: Anita XXXXXX	
   Date: 2/1/2008  

   Filename:         crypt.htm
   Supporting files: back1.gif, back2.gif, locks.jpg, logo.gif, scytale.gif

<title>International Cryptographic Institute</title>

<body style="color: white; 
background: black; 
background-image: url(back1.gif); 
background-image: repeat-y; 
float: margin-top -20" >

<img src="logo.gif" alt="ICI" style="float: left" width="95" height="75"/>

<h1 style="text-align: center; font-family: Courier New; font-size: 1.8em; letter-spacing: 0.3em; line-height: 0.7em; color: yellow;
background-image: url(back2.gif)">
THE&nbsp;<br />
&nbsp;&nbsp;OF<br />

<h2 style="font-family: Arial, Helvetica, or sans-serif">What is Cryptography?</h2>

<p><b>Cryptography</b> is the science of secure communications, 
formed from the Greek words <i>kryptós</i> meaning "hidden" and <i>lógos</i>, meaning 
"word". The first recorded use of cryptography was by the Spartans who (as early as 400 BC) 
employed a cipher device called a "scytale" to send secret communications between military 
commanders. The scytale consisted of a tapered baton around which was wrapped a piece of parchment 
inscribed with the message. Once unwrapped the parchment appeared to contain an incomprehensible 
set of letters, however when wrapped around another baton of identical size the original text 
<img src="scytale.gif" alt="" style="float: right; margin 0 0 10 100"/>

<p>Cryptographers developed more and more ingenious systems, 
but it was in the 20<sup>th</sup>century, that the science of cryptography took off. 
The first major achievement was the the development of rotor cipher machines. An American, 
Edward Hebern recognised that by hardwiring alphabetic substitution in the connections from 
one side of an electrical rotor to those on the other side and cascading a collection of such 
rotors, alphabetic substitutions of almost any complexity could be produced. Germany engineers 
independently discovered the rotor concept and designed the precursors to the most famous 
cipher machine in history - the German Enigma machine which was used during World War 2. The 
cracking of the Enigma ciphers byBritish and Polish cryptanalysts during the Second World War 
is one of the greatest triumphs inthe history of cryptography and played an important role in 
the Allie victory.</p>

<hr />

<p style="text-align: center">To learn more cryptography, please tour the site. <br />
   <img src="locks.jpg" alt="" />

The image back1.gif is the one they want to run on the left hand of the page.
Any help would be greatly appreciated.
Reply With Quote