[req]-how To Code A Template

Discussion in 'GR Classic Archive' started by SubSir0, Mar 26, 2007.

  1. SubSir0

    SubSir0 Senior Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    Jun 24, 2005
    Location:
    UK
    Hi all,

    im new to Websites/Templates

    ive just knocked up a temp in Photoshop but now i need to know how to put it on the web i know it needs to be Sliced and coded but ive no clue on howto do this but i want to learn

    im wondering if anyone knows of any sites where i can learn or of any tutorials?

    help is much appreciated
     
  2. Sapphire Blade

    Sapphire Blade Well-Known Member

    Age:
    37
    Posts:
    1,522
    Likes Received:
    0
    Joined:
    Oct 8, 2006
    slice the image and put it into a data table (or multiple tables) on a web page:

    <table>
    <tr>
    <th> example </th>
    <th> example </th>
    <th> example </th>
    </tr>
    <tr>
    <td> example </td>
    <td> example </td>
    <td> example </td>
    </tr>
    </table>


    tr= table row
    td= table data
    th= table heading


    there are also table attributes, they are basically the same as regular html


    if you are creating a page from sliced images, your tag may look like this:
    <table border=0 cellspacing=0 cellpadding=0 width=x%>
    <tr width= x height=y>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    </tr>
    <tr>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    <td background= EXAMPLE.JPG width=y (pixels)>example text </td>
    </tr>
    </table>




    u may need one of the following links:

    remote link (already online)

    <a href=url> link title</a>

    local link (on your computer)

    link title

    image link




    basically you need to know html and CSS, and java if you want...just get dreamweaver or frontpage...
     
  3. Phili G

    Phili G Well-Known Member

    Age:
    35
    Posts:
    1,498
    Likes Received:
    0
    Joined:
    Oct 5, 2005
    Location:
    England!
    I would recommend slicing in imageready, and then editing the html there. You will get a better idea as to how to make sites. Programs such as Dreamweaver are good for producing sites, as you can change the html code in code view and see the output in design view
     
  4. SubSir0

    SubSir0 Senior Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    Jun 24, 2005
    Location:
    UK
    thnx for replys :)

    so do i need to know HTML to code a temp?
     
  5. Sapphire Blade

    Sapphire Blade Well-Known Member

    Age:
    37
    Posts:
    1,522
    Likes Received:
    0
    Joined:
    Oct 8, 2006
    sure...hard coding is always good to know...dreamweaver and frontpage can help you cheat a little bit lol...you can open any page in dreamweaver and it will tell you the scripting (html, css, java...etc)
     
  6. Rummage

    Rummage Well-Known Member

    Posts:
    914
    Likes Received:
    0
    Joined:
    Aug 12, 2006
    I would suggest tableless coding as well
     
  7. Sapphire Blade

    Sapphire Blade Well-Known Member

    Age:
    37
    Posts:
    1,522
    Likes Received:
    0
    Joined:
    Oct 8, 2006
    yeah...that too, but alot of sites are mainly tables, framesets and have extra attributes added with java and css

    edit: also use style sheets
     
  8. Rummage

    Rummage Well-Known Member

    Posts:
    914
    Likes Received:
    0
    Joined:
    Aug 12, 2006
    yeah that true, If he was trying to sell tableless is the way to go imo more money
     
  9. Phili G

    Phili G Well-Known Member

    Age:
    35
    Posts:
    1,498
    Likes Received:
    0
    Joined:
    Oct 5, 2005
    Location:
    England!
    tabeless coding is more complicated (to do it well anyway). Its best to learn simple (generated imageready code) and then work ur way up from that. Thats what I did
     
  10. conorp

    conorp Well-Known Member

    Posts:
    1,422
    Likes Received:
    0
    Joined:
    Nov 21, 2006
    Location:
    Australia
    I can code ect but i was wondering if it makes a diffrents if i slice in imageready or photoshop? They both work
     

Share This Page