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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spacing columns using an image

Status
Not open for further replies.

TRACEYMARYLAND

Programmer
May 21, 2004
370
US

I have a table that im trying to space with spacer image and it is leaving space so it looks like two lines

<table width="760" border="" bordercolor="#333366" bgcolor="#CCCCCC" >
<tr>



<td border="" bordercolor="" bgcolor="" >
<input name="449" type="text" size="80">

<img src="../images/blank.gif" width="450" height="1" border="0" >

</td>

<td border="" bordercolor="" bgcolor="" >
<input name="450" type="text" size="5">

<img src="../images/blank.gif" width="65" height="1" border="0" >

</td>
</tr>
</table>

any suggestions
 
try to enlarge the table width or use the nowrap property in TD tags. To work correctly, you must replace your space by 'non breakable spaces' ( &nbsp; )
 
can you explain a little more what you're trying to do?

BTW - this is more of a CSS/HTML question - forum215

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook

zen.gif

 
whitespace being rendered.

put everything from the <td ...> to the </td> on a single line.

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
I am allowing the user to build the form....from a template so im trying to make the column width what they put in a value.....but i tried to do it with
td width but that not worked so i thought i use an image...
but im getting two lines.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top