Something wrong with my site... can't figure it out.

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Something wrong with my site... can't figure it out.

Post by Luke »

I am having troubles in IE with my site. It opens fine in Firefox. In IE there are unwanted spaces in the header. The site is http://www.sierra-tech.com. I have looked at it's validation errors, but none of them seem to be causing the problem. I can't figure it out!!

Oh yea and there are only problems with all pages but the index.
Last edited by Luke on Tue Nov 29, 2005 1:54 pm, edited 1 time in total.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

Make all the images in the header align="left" or align="top" . That'll make your site fail validation, but oh well. It's a tradeoff to work with M$ "standards".
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

thanks I'll try that... I dont care if it fails validation... it already does miserably.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Didn't work
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

I'll take a stab at it in a few hours.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

thanks
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

get rid of all of the spaces in your code around the table structure (including line breaks).

ex:

Code: Select all

<table>
  <tr>
    <td>
    </td>
  </tr>
</table>
should become:

Code: Select all

<table><tr><td></td></tr></table>
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

but that would make like the entire header on like one line...
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Burr is right.... It's another anooying thing IE does. It actually parses line breaks at the start of <td> element nodes as being actual content.

I think it's fine to have the <tr> on their own line but the contents of the <td /> cells needs to be touching the actual <td /> tags. I used to have this grievance a lot with table layouts :(

I've looked at your source code and I don't see a lot of situations where you have any line breaks but there are a handful (possibly just where you have tables inside table cells).

Try it and see if it works :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

The Ninja Space Goat wrote:but that would make like the entire header on like one line...
Example:

Code: Select all

<table>
    <tr>
        <td>
            Contents here<br />
            New line
        </td>
    </tr>
</table>
Becomes....

Code: Select all

<table>
    <tr>
        <td>Contents here<br />
            New line</td>
    </tr>
</table>
So apart from the edges of the content... the rest can go where you want ;) It's a silly IE thing :(
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Thank you sirs... it worked beautifully.
Post Reply