PDA

View Full Version : Text In Table


Sandonthefloor
01-04-2009, 04:05 PM
Well i have this template that i made and it has an image for the text... which when i delete it is fine until i try to type in it which then the page gets really distorted...

and is there a way to select an area to change that color? or do u have to do that wth photoshop...

hummer2001
01-05-2009, 10:46 AM
Do you have some code or a screenshot you can show us?

edbr
01-06-2009, 12:17 AM
code. Itsounds like you are talking about background colour, are you using tables or divs?

Sandonthefloor
01-06-2009, 12:57 AM
its tables and when I delete the image i can't type in it

edbr
01-06-2009, 01:33 AM
look at the code for the table where you deleted the image, where you see <td></td> paste &nbsp; between the tags (or some letters come to that)
this is just a guess as I cant seee what you have done without your code

Sandonthefloor
01-06-2009, 02:01 AM
thats what it says... it even says &nbsp

but even if i keep that or don't keep it it sitll distorts it

edbr
01-06-2009, 02:25 AM
code then as requested

Sandonthefloor
01-08-2009, 12:46 AM
<HTML>
<HEAD>
<TITLE>Howards Emporium</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #2D355A;
}
-->
</style></HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (template006.psd) -->
<TABLE WIDTH=781 HEIGHT=699 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 ID="Table_01">
<TR>
<TD COLSPAN=4>
<IMG SRC="images/title.jpg" ALT="" WIDTH=780 HEIGHT=70 border="0" usemap="#Map"></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=70 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2><img src="images/menu.jpg" width=165 height=21 alt=""></TD>
<TD COLSPAN=2 ROWSPAN=8>
<IMG SRC="images/main-image.jpg" WIDTH=615 HEIGHT=277 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="../Games/games.html"
ONMOUSEOVER="window.status='products'; return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG SRC="images/products.jpg" WIDTH=165 HEIGHT=23 BORDER=0 ALT="products"></A></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="#"
ONMOUSEOVER="window.status='solutions'; return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG SRC="images/solutions.jpg" WIDTH=165 HEIGHT=22 BORDER=0 ALT="solutions"></A></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="#"
ONMOUSEOVER="window.status='support'; return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG SRC="images/support.jpg" WIDTH=165 HEIGHT=20 BORDER=0 ALT="support"></A></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="#"
ONMOUSEOVER="window.status='user login'; return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG SRC="images/user-login.jpg" WIDTH=165 HEIGHT=22 BORDER=0 ALT="user login"></A></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<A HREF="#"
ONMOUSEOVER="window.status='services'; return true;"
ONMOUSEOUT="window.status=''; return true;">
<IMG SRC="images/services.jpg" WIDTH=165 HEIGHT=21 BORDER=0 ALT="services"></A></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/index_09.jpg" WIDTH=164 HEIGHT=24 ALT=""></TD>
<TD>
<IMG SRC="images/index_10.jpg" WIDTH=1 HEIGHT=24 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=24 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=3>
<IMG SRC="images/menu1.jpg" WIDTH=165 HEIGHT=476 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=124 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/index_12.jpg" WIDTH=518 HEIGHT=293 ALT=""></TD>
<TD>
<IMG SRC="images/draw1.jpg" WIDTH=97 HEIGHT=293 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=293 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<IMG SRC="images/draw2.jpg" WIDTH=615 HEIGHT=59 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=59 ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->

<map name="Map"><area shape="rect" coords="362,54,419,70" href="index.html">
<area shape="rect" coords="418,54,466,70" href="../FAQ/faq.html">
<area shape="rect" coords="465,54,552,70" href="../Contact Us/contact.html">
<area shape="rect" coords="4,15,266,59" href="index.html">
</map></BODY>
</HTML>


The Red area is where when i delete taht it distorts when i type

edbr
01-08-2009, 01:18 AM
try where you have
<TD> <IMG SRC="images/index_12.jpg" WIDTH=518 HEIGHT=293 ALT=""></TD>
try
<TD WIDTH=518 HEIGHT=293 > same width and height as image</TD>

Sandonthefloor
01-08-2009, 02:03 AM
That didn't work.... here is a screenshot
http://i307.photobucket.com/albums/nn291/Sandonthefloor/Random/howard.jpg


see how it distorts on right side...

Sandonthefloor
01-08-2009, 11:30 PM
Ok it actually worked Thanks for all your help!