Unsure of error

They have: 1 posts

Joined: Oct 2005

Hello.

I have encountered an error on a site that I work for, here is the error:

If you can tell us whats wrong, we would appreciate it!

Thankyou,

[B]Synitex Team[/B]

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Could you provide a link please?

If you have Firefox you might want to install the web developer toolbar. That will allow you to turn on borders on tables and/or images which will at least show you where the gaps are exactly. This is probably an issue with borders or margins - you just have to figure out which element is the problem.

Welcome to the Forums, BTW! This place seems to be crawling with English people lately for some reason Laughing out loud Not that that's a bad thing!!

02bunced's picture

He has: 412 posts

Joined: May 2005

English are the best Wink

Busy's picture

He has: 6,151 posts

Joined: May 2001

My guess is you're using IE and the problem is only in IE (sometimes Opera as well), and done with tables *although have been known to be wrong Wink *

The problem can usually be found within one of three things,
the old IE bug - images need to be on the same line as tags (you can not have a space after if there is an image, text is ok)

You have a mixture of percentage and fixed cells ('s) which do not match, ie: makes .5 - 50% of 21 is ...

The wrong use of valign and/or align: valign=right, align=top ... are wrong, also the lack of using the alignment can cause it also if the content is to long, using align=right can usually fix the problem (this works opposite to how it looks, as the gap is to the left).

Try the top table (the banner, navigation one), add align="right" (if you haven't already) to the last tags of every group. try the second table 1 pixel smaller in size if your cell padding and spacing is at 0, else decrease either by 1. The third one put the table tag staright after the previous tables end tag and put align right in the last td of every tr. - you never know it just might do the trick.
It can be a tricky lil so and so to fix/find sometimes

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

A lot of times, it could be spaces in your codeing. So, if you have something similar to the following:

<tr>
  <td>
    <img src="image.gif" width="100" height="100" alt="" title="" />
  </td>
</tr>
'

Just change it to this, and see if it helps:

<tr>
  <td><img src="image.gif" width="100" height="100" alt="" title="" /></td>
</tr>
'

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.