Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table help?

Status
Not open for further replies.

zavsays

Technical User
Apr 19, 2001
117
0
0
US
Could somebody please tell me how to make the blue photo butt up against the thin gray table to its right like it does with the table to its left (or maybe I should be asking how to move that right gray table leftward)? After an hour of having a push-pull slugfest with Dreamweaver, I'm beat!.


Thanks
 
hey zavsays,
Don't know if what version of DW you have, but one of the coolest things about DW 4 is the new layout mode. If you switch to that view, you have a much greater control over the table cells. Can delete and "draw" them. Anyway, I downloaded your page and was able to adjust it that way relatively quickly. In case you have an older version and this info doesn't help, here is the code of the changes page with gray bar positioned against photo:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<!-- saved from url=(0038) -->
<HTML><HEAD><TITLE>Untitled Document</TITLE>
<META content=&quot;text/html; charset=iso-8859-1&quot; http-equiv=Content-Type>
<STYLE type=text/css>.whitebody10 {
COLOR: #ffffff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 10px; LINE-HEIGHT: 14pt
}
</STYLE>

<META content=&quot;MSHTML 5.00.3314.2100&quot; name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=700>
<TBODY>

<TR bgColor=#000000>

<TD colSpan=6 height=&quot;87&quot;><IMG height=87 src=&quot;Untitled Document_files/tipslogo.jpeg&quot;
width=592></TD>
</TR>

<TR>

<TD bgColor=#003966 width=161 height=&quot;276&quot;>

<TABLE align=center border=0 cellPadding=4 cellSpacing=0 width=149>
<TBODY>

<TR>

<TD>

<DIV align=center><IMG height=115
src=&quot;Untitled Document_files/danasmallnew.jpeg&quot;
width=144></DIV>
</TD>
</TR>

<TR>

<TD>&nbsp;</TD>
</TR>

<TR>

<TD>&nbsp;</TD>
</TR>

<TR>

<TD>&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD bgColor=#666666 width=1><IMG height=1
src=&quot;Untitled Document_files/spacer_clear.gif&quot; width=1></TD>
<TD valign=&quot;top&quot; bgColor=#000000 colSpan=2><IMG height=276
src=&quot;Untitled Document_files/coverphoto5.jpeg&quot; width=335></TD>
<TD valign=&quot;top&quot; bgColor=#666666><IMG height=1
src=&quot;Untitled Document_files/spacer_clear.gif&quot; width=1></TD>
<TD width=200 valign=&quot;top&quot; bgColor=#000000>

<TABLE align=center border=0 cellPadding=4 cellSpacing=0 width=149>
<TBODY>

<TR>

<TD>

<DIV align=center><FONT color=#ffffff>&lt; slight amount of black
table showing behind photo.</FONT></DIV>
</TD>
</TR>

<TR>

<TD>&nbsp;</TD>
</TR>

<TR>

<TD><FONT color=#ffffff size=3>How do I get the thin gray table to
butt against the right side of the photo the way the left side
does?</FONT></TD>
</TR>

<TR>

<TD>&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>

<TR>

<TD bgColor=#cc9933 height=20 width=161>&nbsp;</TD>
<TD bgColor=#ff9900 width=1>&nbsp;</TD>
<TD valign=&quot;top&quot; colSpan=2 bgColor=#003366>&nbsp;</TD>
<TD width=&quot;3&quot;></TD>
<TD valign=&quot;top&quot; bgColor=#003366>&nbsp;</TD>
</TR>

<TR>

<TD bgColor=#993033 width=161 height=&quot;19&quot;>&nbsp;</TD>
<TD width=1>&nbsp;</TD>
<TD width=197 valign=&quot;top&quot;>&nbsp;</TD>
<TD width=138 valign=&quot;top&quot;>&nbsp;</TD>
<TD></TD>
<TD valign=&quot;top&quot; bgcolor=&quot;#003366&quot;>&nbsp;</TD>
</TR>


</TBODY>
</TABLE>
</BODY></HTML>


Hope this helps,
Tim
 
Yes, I'm on version 3. I'll have to step up.
Thanks Jaron.
 
You've got the cellspacing on a couple of your tables set to 4 set them to 0 and everything will shift over for you.
 
Forget my last comment, I have played with this little and have figured it out the left panel of the table needs to be set to 171 currently 161. The center pannel contains two extra <td> tags which contain spacer images delete both of these (easely done in code view). You'll need to play around a little with the cell under your center image the cellspans and such will be off. Maybe merge them all into one cell and split the cell again till you get what you want.
 
Thanks BlastRadius. You were correct. I must have added extra tables which I didn't detect
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top