#1 (permalink)  
Old 11-03-2006, 01:53 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Need help on my PS to HTML design

guys! im a beginner at using PS to HTML.
id go straight to the point.
the thing is, i have made my design and i exported it to html, all slices where done. now my problem is how to put a table over my image body.
the one that i allocated as my body, once i made a table over it, it disarranges.
example:

heres my sample code:

<td colspan="3" rowspan="6">
<img src="blah.jpg" height="" weight="">
</td>

what will i do to be able to put text and create a table?

thanks a lot. ive been having problems with these.
thank you very much.
Reply With Quote

  #2 (permalink)  
Old 11-03-2006, 06:26 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,438
You should use the images as your table background instead of simply placing them inside the tables.

It would look more like:
Code:
<td colspan="3" rowspan="6" style="background: #000 url('blah.jpg')";>
This is the content of your table cell
</td>
Be aware, though, that using tables for strictly layout purposes is now considered bad form in HTML. Tables should only be used for presenting tabular data.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #3 (permalink)  
Old 11-03-2006, 09:38 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Thumbs down

Totally agree. Tables are in a sinking ship, and DIV/CSS is the way to go.
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
  #4 (permalink)  
Old 11-03-2006, 08:16 PM
Registered User
 
Join Date: Nov 2006
Posts: 2
here is my sample code; check in the middle where my problem really is. thank you.

<html>
<head>
<title>josh</title>

</head>

<!-- ImageReady Slices (josh.psd) -->
<table id="Table_01" width="801" height="601" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="6">
<img src=http://mail.yahoo.com/config/login?/"images/josh_01.gif" width="800" height="47" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="47" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src=http://mail.yahoo.com/config/login?/"images/josh_02.gif" width="387" height="54" alt=""></td>
<td colspan="2" rowspan="2">
<img src=http://mail.yahoo.com/config/login?/"images/josh_03.gif" width="413" height="61" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="54" alt=""></td>
</tr>
<tr>
<td rowspan="19">
<img src=http://mail.yahoo.com/config/login?/"images/josh_04.gif" width="8" height="499" alt=""></td>
<td rowspan="2">
<img src=http://mail.yahoo.com/config/login?/"images/josh_05.gif" width="136" height="23" alt=""></td>
<td colspan="2" rowspan="6">
<img src=http://mail.yahoo.com/config/login?/"images/josh_06.gif" width="243" height="63" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="7" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="5">
<img src=http://mail.yahoo.com/config/login?/"images/josh_07.gif" width="413" height="56" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="16" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_08.gif" width="136" height="6" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_09.gif" width="136" height="24" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_10.gif" width="136" height="4" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="4" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src=http://mail.yahoo.com/config/login?/"images/josh_11.gif" width="136" height="25" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td rowspan="13">
<img src=http://mail.yahoo.com/config/login?/"images/josh_12.gif" width="25" height="436" alt=""></td>


<!-- start of file (new code) -->
<!-- this is where i want to put my content text, this is what i did.
but the thing is now, the text shows on row 12, and when i change the row into
row1, when i <br> other images, dis arrange.
-->

<td background=http://mail.yahoo.com/config/login?/"images/josh_13.gif" colspan="2" rowspan="12"></td>

<!-- the old code
<td colspan="2" rowspan="12">
<img src=http://mail.yahoo.com/config/login?/"images/josh_13.gif" width="612" height="381" alt=""></td>
-->

<!-- end of file -->


<td rowspan="13">
<img src=http://mail.yahoo.com/config/login?/"images/josh_14.gif" width="19" height="436" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="19" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_15.gif" width="136" height="6" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_16.gif" width="136" height="23" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_17.gif" width="136" height="7" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="7" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_18.gif" width="136" height="23" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_19.gif" width="136" height="8" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="8" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_20.gif" width="136" height="23" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_21.gif" width="136" height="6" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_22.gif" width="136" height="26" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="26" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_23.gif" width="136" height="6" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/josh_24.gif" width="136" height="23" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src=http://mail.yahoo.com/config/login?/"images/josh_25.gif" width="136" height="266" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="211" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src=http://mail.yahoo.com/config/login?/"images/josh_26.gif" width="612" height="55" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="1" height="55" alt=""></td>
</tr>
<tr>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="8" height="1" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="136" height="1" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="25" height="1" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="218" height="1" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="394" height="1" alt=""></td>
<td>
<img src=http://mail.yahoo.com/config/login?/"images/spacer.gif" width="19" height="1" alt=""></td>
<td></td>
</tr>
</table>
<!-- End ImageReady Slices -->

</html>
Reply With Quote
  #5 (permalink)  
Old 02-12-2007, 03:40 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Uhm, I'm very much a newbie at the PS to Dreamweaver technique, and I don't really know codes much (unless I'm tweaking a pre-existing one for my blog and stuff. My question is, using this method, how can I make CSS? I mean, if I use this method it's going to have the <td> code all over right? And on the body I'm going to be using a table. So how can I put CSS?

*hope you don't mind I kinda crashed in this topic. I didn't want to make a new one since my question's similar*
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Needing To Understand Html russfall Programming and Scripting 4 05-03-2007 10:31 PM
"session validation checking" in html page ...HELP dragon Programming and Scripting 4 08-15-2006 02:06 PM
Online HTML Editor WYSIWYG shakim Programming and Scripting 5 07-20-2006 10:47 AM
Aligning? Saavan Programming and Scripting 1 12-19-2005 03:52 AM
Help On Web Design Using Html And Javascript GLORY Programming and Scripting 1 02-18-2005 03:16 PM


All times are GMT -5. The time now is 12:07 AM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter