PDA

View Full Version : TABLE CODING



Meti
13-08-2008, 04:58 PM
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?

Calon
13-08-2008, 06:05 PM
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.

Meti
14-08-2008, 11:14 AM
I tried, but the tables just mixes around

Decode
14-08-2008, 11:15 AM
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-


<td colspan="7">
<img src="images/djsays.gif" width="948" height="26" alt=""></td>

To this-


<td colspan="7" background="images/djsays.gif" width="948" height="26"></td>

Meti
14-08-2008, 11:52 AM
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 :(

Want to hide these adverts? Register an account for free!