|
Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues |
|
Topic Tools |
#1
|
||||
|
||||
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: Code:
<html> <head> <!-- 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> </head> <body style="color: white; background: black; background-image: url(back1.gif); background-image: repeat-y; float: margin-top -20" > <p> <img src="logo.gif" alt="ICI" style="float: left" width="95" height="75"/> </p> <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 <br /> SCIENCE<br /> OF<br /> CRYPTOGRAPHY </h1> <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 appears. <img src="scytale.gif" alt="" style="float: right; margin 0 0 10 100"/> </p> <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="" /> </p> </body> </html> Any help would be greatly appreciated. |
#2
|
||||
|
||||
Code:
<body style="color: white; background: black; background-image: url(back1.gif); background-image: repeat-y; float: margin-top -20" > http://www.w3schools.com/css/css_background.asp She has two errors. If she's going to specify each property individually instead of in a single background declaration she needs to use the correct terminology. background: black; might be working for her but it should be background-color: black; and background-image:repeat-y; should be background-repeat:repeat-y; To be consistent she should also specify the background-position. She also should review the section on css fonts and fix some problem areas there. |
#3
|
||||
|
||||
Thank You rockboy very much!
I did send her there, well actually I took her there and I also sent her home with both the link to the w3schools and here. You confirmed what I told her was wrong with it and I appreciate it very much. |
#4
|
||||
|
||||
You're welcome.
|
Bookmarks |
«
Previous Topic
|
Next Topic
»
|
|
Similar Topics | ||||
Topic | Topic Starter | Forum | Replies | Last Post |
You're doing it wrong (pic) | joytime365 | Open Discussion | 1 | July 22nd, 2008 07:19 AM |
Tom, something is wrong here... | swoop72 | Malware Removal | 4 | May 30th, 2008 10:24 PM |
Is there something wrong with my HJT? | na2r4 | Malware Removal | 3 | October 20th, 2005 12:30 AM |
I don't know what's wrong | joetj | Windows 98 | 1 | October 18th, 2005 05:49 PM |
All times are GMT +1. The time now is 10:07 AM.