Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 11-19-2003, 07:12 PM picture alignment
Super Talker

Posts: 104
Location: San Diego, Ca
Trades: 0
For the love of PETE! I can't get my images to stick together! Could somebody slap me with a einstein stick?

No seriously.. i can't get em lined up.. does anyone see the problem?


Here's my code. (You'll see the crack between the graphics in the upper left.

<html>
<body bgcolor="775527" topmargin=0 leftmargin=0 >
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#775527">
<tr>
<td width="800" colspan=3 valign="bottom" align="left">
<img src="header.gif">
</td>




</tr>

<tr>
<td width="101" rowspan=2 valign="top" align="left">
<img src="menu.gif">
</td>

<td width="34" valign="top" align="left">
<image src="round.gif" height="28" width="34">
</td>

<td width="665">
<p align="center">CLASS</p>
</td>
</tr>

<tr>
<td width="34">
<p>d</p>
</td>

<td>
<center><H1>TITLE</H1></center>
<br>
<p>filler filler filler there was once a monkey that had top secret powers.. so i can't

tell you about them.</p>
<br>
</td>

</tr>
</table>
__________________
Porch Monkey. And that's the truth.
iqchicken is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-19-2003, 09:33 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
For the images, you have to keep your <TD> tags on the same line with no spaces in between the <TD> tags and your <IMG> tags. Othwise, the browser will interpret the line breaks as spaces.

i.e.:
Code:
<html>
<body bgcolor="775527" topmargin=0 leftmargin=0 >
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#775527">
<tr>
<td width="800" colspan=3 valign="bottom" align="left"><img src="header.gif"></td>
</tr>

<tr>
<td width="101" rowspan=2 valign="top" align="left"><img src="menu.gif"></td>

<td width="34" valign="top" align="left"><image src="round.gif" height="28" width="34"></td>

<td width="665">
<p align="center">CLASS</p>
</td>
</tr>

<tr>
<td width="34">
<p>d</p>
</td>

<td>
<center><H1>TITLE</H1></center>
<br>
<p>filler filler filler there was once a monkey that had top secret powers.. so i can't 

tell you about them.</p>
<br>
</td>

</tr>
</table>
P.S. your "round.gif" should be IMG not "image".
techwench is offline
Reply With Quote
View Public Profile
 
Old 11-20-2003, 11:32 AM thanks
Super Talker

Posts: 104
Location: San Diego, Ca
Trades: 0
Thanks,
You're the best Prissed. I never knew that HTML would be read like that. I always thought of it as the friendliest little coding scheme on the planet (which it still is).. but there are new quirks I'm learning all the time.

THANKS!!
__________________
Porch Monkey. And that's the truth.
iqchicken is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to picture alignment
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.15158 seconds with 12 queries