1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

General HTML problem?

Discussion in 'General' started by bigjon913, Dec 3, 2010.

  1. bigjon913

    bigjon913 New Member

    i downloaded the Game Zone thing, and i understand how to put the css in, but wen i open the HTML document, its not a code at all, its just an image of the website... how am i supposed to get the coding to put into my own website? thanks even tho this may be a dumb question and im just clueless on this whole process lol
     
  2. enigma1

    enigma1 New Member

    The gamezone.psd file is an image for photoshop. It is provided because people who use photoshop have a chance to change the template image and then export the image slices and integrate them with html.

    The HTML code from the zip archive is inside the index.html and the CSS styles in the style.css. If you only need to make modifications to the HTML use a plain editor and edit the index.html and style.css.

    Finally the various images included with the template are in the images folder. Editing the html/css files will give you a static site. If you wanted to administer the site ie: create/edit new content you will need a framework so you will be able to do changes on the server end with a user interface. (upload images, add content etc)
     
  3. bigjon913

    bigjon913 New Member

    so if i wanted to switch the guy with a sniper rifle to a football player, id do that on photoshop? i understand wut ur saying, but wuts not clear is where i can copy and paste the html code OR if i just have to create 1...
     
  4. enigma1

    enigma1 New Member

    You could use photoshop for this yes. And then once you have the new image you edit the style.css file and replace the image url

    Code:
    #body_image {
        margin: 0px 0px 0px 194px;
        height: 431px;
        width: 580px;
        background: url('images/header_image.png') transparent no-repeat 100% -1px;
        z-index: 1;
        position: absolute;
        overflow: hidden;
    }
    
    Where it list the background tag is the url for the current image.
    header_image.png
    You could replace it with another image to see the effect.

    After you extract the package you load the index.html to a browser in order to preview it.
    The style.css and index.html files can be edited with a plain text editor like notepad.

    Once you have the files click refresh on the browser to see that all changes are there, when ready you upload them to your server.
     
  5. emma1

    emma1 Banned

    Please i need an urgent help. I created an HTML contact form and also I have written the PHP script for the contact form but I am having problems in the next step to take in making it work. I have hosted it, but it didnt work. PLEASE is anyone there who can help me in solving it? if possible steps in ensuring that it works.

    Below is the html and [COLOR=blue ! important][FONT=inherit ! important][COLOR=blue ! important][FONT=inherit ! important]php [/FONT][COLOR=blue ! important][FONT=inherit ! important]code[/FONT][/COLOR][/FONT][/COLOR][/COLOR].

    Please I will be grateful if I can know the steps to make it work.

    Thanks


    THE HTML CODE FOR THE CONTACT FORM

    THE PHP SCRIPT