Results 1 to 5 of 5

Thread: TABLE CODING

  1. #1
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default TABLE CODING

    Hey.
    I know how to code in expandable tables and divs.
    But I've got a question about table coding.

    To make the coding easier, can you slice it on photoshop, and save it, and then, the codes are like:
    <td colspan="7">
    <img src="images/djsays.gif" width="948" height="26" alt=""></td>
    Could I just change the img src to:??
    td background
    So the code will be like:
    <td background="images/djsays.gif" width="948" height="26" alt=""></td>
    That would make the coding alot more easier, if it works?

  2. #2
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Meti View Post
    Hey.
    I know how to code in expandable tables and divs.
    But I've got a question about table coding.

    To make the coding easier, can you slice it on photoshop, and save it, and then, the codes are like:


    Could I just change the img src to:??


    So the code will be like:


    That would make the coding alot more easier, if it works?
    That's how I used to code when I used to code in tables.

  3. #3
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    I tried, but the tables just mixes around

  4. #4
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Since when could Photoshop code layouts :S Ive allways used notepad and done it in divs rather than tables, and I would assume that if you use Photoshop to code a layout the code will be tacky like in Dreamweaver.

    But if you want to you could change this-
    HTML Code:
    <td colspan="7">
    <img src="images/djsays.gif" width="948" height="26" alt=""></td>
    To this-
    HTML Code:
    <td colspan="7" background="images/djsays.gif" width="948" height="26"></td>
    Lets set the stage on fire, and hollywood will be jealous.

  5. #5
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Thanks. +REP
    Dunno if it works, but thanks anyways

    Photoshop doesn't code the layout. You only slice it, and press "Save for the internet" or whatever it is. Then it makes a tables layout "index.html" for you. With images.

    EDIT: It works + I have to spread
    Last edited by Meti; 14-08-2008 at 11:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •