Exporting images to html cell background

Ask a Question related to Adobe Photoshop 7, CS, CS2 & CS3, Design and Development.

  1. #1

    Default Exporting images to html cell background

    Hello,

    I wanted to find out if I can export a page made in Photoshop to the background cells of an HTML.

    You know that when do a "Save Optimized" in Photoshop it gives you the option to save HTML and Images. When I do this and open the HTML in Dreamweaver, all the cells show images within them because that's the way I sliced the page. I wanted to know if Photoshop can automatically export the page and make the slice image the background of the cell unstead of an image within the cell.

    Thank you for your assistance,

    rcrane
    Richard Crane Guest

  2. Similar Questions and Discussions

    1. Swapping Cell Images for Background Images
      Is there any plugin or extention for DW(studio8) out there that will quickly and with one click, let me remove an image inside a cell and...
    2. Background in cell help
      need help.... i have a cell that the image just keeps repeating itself.... i only want the image to show once in the cell... any ideas.... the...
    3. Dynamic cell background color
      I have a data grid that is displaying our SLA timings for various time frames. I would like to have the background of the cell change to red if the...
    4. How to set cell background based on cell value when datagrid is displayed
      I would like to check a datagrid cell value, and change the color of the cell background, when a datagrid is displayed. I want to do this as early...
    5. newbie:How to print the background of a cell in a table?
      I have a table with one cell which has a black background and white letters. Looks good on Screen. When I print on a B&W laserjet, the letters...
  3. #2

    Default Re: Exporting images to html cell background

    All you need to do is save normally (gif or jpg). Then open your html file. In the <table> tag, add the line:

    background="myimage.jpg"

    like so:

    <table background="myimage.jpg">
    <tr>
    <td>Some cell data</td>
    </tr>
    </table>

    and the image will be the table background...

    hth, dave
    dave milbut Guest

  4. #3

    Default Re: Exporting images to html cell background

    To have just one cell have a background, you'll need to edit manually and put the imformation into the correct td tag. You'll also need to set the height and or width of the table or cell depending on the layout so that the layout won't break at different screen resolutions.

    Simple top border example:
    Putting spaces in so the board doesn't read the code....you would not have the spaces between the < and the > .

    < table border=0 cellspacing=0 cellpadding=0 cols=1 width="100%" height="268" >
    < tr valign=top >
    < td valign=top background="bordertile.jpg">Tiling cell bacground is here < /td >
    < /tr >
    < /table >
    Tina Hayes Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139