Apr 5, 2000
13,256
1
0
Page in question:

http://www.utdallas.edu/~melvinc/4320/layout.htm

Yea it's $hitty I know - the teacher said we had to follow a specific format, layout, etc etc. My problem is I can't get this damn space out of all the boxes - it only happens on the bottom of the cells. (Look at main & theme - its supposed to connect but its not) Those will all eventually link or else I would leave it as one big picture. What am I doing wrong in my HTML code?

First person who can help me solve it will get $5 paypaled to them! (And if its impossible to get that white space out of there...you don't get anything :p )

(Oh btw - I know the bottom 7 pictures don't lineup - that's not what I'm asking to fix)

Thanks!

got it, thanks Mark R
 

777php

Diamond Member
Jul 17, 2001
3,498
0
0
try specifying the size of each cell to the size of your images.

ie

<table width="size of all three images across" border="0" cellspacing="0" cellpadding="0">

<td width="image width" height="image height">
<img src="your_image">
</td>

see if that works
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
I'm going to take a stab and say the lines on Main and Theme are not long enough to touch, they they are getting stopped by the border you've set. Try extending the lines on both of them.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
Instead of placing the images in the table cells, set them as the background of the cells. It's much easier to get them aligned ;)
 

fr

Diamond Member
Oct 10, 1999
6,408
2
81
Can't you just make it one big image and do an imagemap?
 

Mark R

Diamond Member
Oct 9, 1999
8,513
16
81
<TD><IMG border=0 src="- -- Melvin Chu's XBox Site -- -_files/layotorg.jpeg"> </TD>

The problem is the space after the <IMG> tag and before the </TD> tag. Remove the space so the line reads as follows:

<TD><IMG border=0 src="- -- Melvin Chu's XBox Site -- -_files/layotorg.jpeg"></TD>

Problem solved.


 

atrowe

Banned
May 20, 2001
253
0
0
OOH OOH, I got it!

IE is really picky about spacing inside table cells. Especially cells with images. If there are any spaces IN THE HTML CODE ITSELF that renders the table, these will often be rendered as part of the page. Go through your code and remove any unnecessary spaces. Put it all on one line if you have to.

EDIT: Crap! Mark beat me to it.
 

Mark R

Diamond Member
Oct 9, 1999
8,513
16
81
Hehe. We must have been pretty close - by the time the page had reloaded, with my reply, your reply was at the top. :)
 
Apr 5, 2000
13,256
1
0
Mark R - you are a god. I spent 2 hours trying every HTML tag I know of trying to get that to work. Let me know your paypal addy

Snapster - they are eventually going to need to link to a page :(

fr - I thought of that but the teacher said it has to be seperate images :(

atrowe - Mark just beat ya to it