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

Web Design questions relating templates and how to program them before i venture into the known

Discussion in 'Web Design' started by Sun1337, Nov 6, 2009.

  1. Sun1337

    Sun1337 New Member

    im totally new building web sites. im learning HTML, CSS and soon after that PHP. I want to know couple of things before i get started. If i make my own template using photoshop or adobe illustrator and upload it using FILEZILLA, how would i propgram the website. Does uploading the template mean that you just upload images, and then you have a seperate html/css txt document outlining how these images are displayed and used. I dont wuite understand the process.

    Thanks for any help in advance :).
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Yes that is what it means.

    You create a graphic of what your page will look like, saved as a psd file.
    From it you take out all the parts you need and put them into a directory.

    Here is one example to code a basic Logo from a psd file.
    You create a "css" file which sets the style and properties for the elements.
    Code:
    /* ----------LOGO STYLES---------- */
    #logo { 
    float: left; /*floats our logo left*/
    height: 37px; /*gives our logo a height of 37px same as our logo image*/
    width: 270px; /*sets our logo div's height to 270px same as our logo image*/
    } 
    Then you create a "html" file which tells the browser what to get from the "css" file, where to put it, how to display it.
    Code:
    <div id="logo"><!--LOGO STARTS-->
    <img src="your_images_directory/logo.png" alt="Welcome To Your PROject" /> 
    </div><!--LOGO ENDS-->
    Basically you have 3 items;
    1. a directory with your graphics
    2. a style.css fie
    3. a somefilename.html
    again the psd file is the visual graphic you used to create what was in your head. You then cut out the parts you needed and placed them in a directory for use with the "css" and "html" files.
     

    Attached Files:

    • logo.jpg
      logo.jpg
      File size:
      12.6 KB
      Views:
      583
  3. Sun1337

    Sun1337 New Member

    thanks alot made things clearer :)