Log in

View Full Version : Table Gap Spacing Issue



ikon
03-17-2008, 02:20 AM
Just doing some minor updates to the website and now the table columns are all out of wack! If anyone can figure out where the error is, please let me know; here is the link http://www.reefscavengers.com you can see the extra gaps off to the right side, they are dark green blocks

I know some of you have a keen eye for this stuff, you have helped in the past
Thank you!

ikon
03-17-2008, 02:25 PM
Bump for help!

NXArmada
03-17-2008, 03:07 PM
Looks like you have to many columns here about line 209:



<TR>
<TD COLSPAN=11>
<IMG SRC="images/newlayout1_29.gif" WIDTH=681 HEIGHT=44 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=44 ALT=""></TD>

</TR>


Remove what in red and it should line up.

boogyman
03-17-2008, 03:58 PM
Please review our Posting Policies and Regulations (http://dynamicdrive.com/forums/showthread.php?t=24866) especially in regards to #3 (descriptive title)

as you can see by having to bump this thread, you should have a descriptive title.

Personally, and I believe many of the people who help here daily agree, I look through all of the threads with descriptive titles, before I even open one with a non-descriptive title, and depending on how time-consuming / in-depth that takes me, I do not look at the non-descriptive titled threads.
Moral is, please use a descriptive title for future threads.

ikon
03-17-2008, 06:07 PM
nxarmada - thank you for pointing that out, however it did not do the trick

boogyman - title has been changed, thanks

Any one else have an idea?

ikon
03-18-2008, 02:51 AM
can anyone figure this out? Ive been searching through the code for hours and can find nothing

rangana
03-18-2008, 03:01 AM
See if changing your iframe's height from 595 to 700px helps ;)

ikon
03-18-2008, 03:22 AM
No it doesnt have to do with the frame dimensions, thanks for your help though; i changed up the slices a bit in photoshop and when i went to update the html and images i think i got a spacer or row/col value wrong somewhere and i cant find it now...

rangana
03-18-2008, 04:12 AM
It's within that <td> that holds the iframe. Hope you get the point.
What gives you the hesitation on maximizing your iframes height?. :)

ikon
03-18-2008, 04:32 AM
thanks for the help, i changed the colspan on the iframe td from 11 to 9 and it closed the one gap, however the other is still there; any ideas?

the reason i dont raise the height of the frame is because the corners of the scrollbar would overlap the rounded corners of the background image it sits on (if that makes sense)

Rohan72
03-18-2008, 09:30 AM
I noticed that the first row of your tabel (the one with the menu) totals 15 coloms, while the next row only has 14. Make sure that ALL the rows have the same number of coloms (which is not an easy task with so manu colspans and rowspans in the code)

P.S. The "disable right-click" script is pretty annoying when comparing code to the actual site, especially one with such a complicated layout.

ikon
03-18-2008, 02:58 PM
do you know where the error is exactly?

ikon
03-19-2008, 03:13 AM
bump for more help!

aliradash20
12-11-2010, 07:22 AM
I had this issue too. I am gonna change my whole website too css. the problem is the space between <TD COLSPAN=11> and <IMG SRC="im... and also the same for the second line. you should not leave any spaces there. so your code should look like this.

<TR>
<TD COLSPAN=11><IMG SRC="images/newlayout1_29.gif" WIDTH=681 HEIGHT=44 ALT=""></TD>
<TD><IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=44 ALT=""></TD>

</TR>
Notice how the spaces in the code are eliminates here.
I am pretty sure this works