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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Big gap in banner on IE, but not in Firefox
Old 01-08-2008, 05:36 PM Big gap in banner on IE, but not in Firefox
Skilled Talker

Posts: 71
Trades: 0
God, I hate Internet Explorer...

So I'm coding a new template for my site, and I get this big ugly senseless gap in my banner on IE but not in FF. I can't see any possible reason why this is happening, so can someone take a looksy and tell me what I'm doing wrong here?

I'm only going to post the part of the code relevant to the problem:

Code:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#6f6f6f">
<table border="0" cellspacing="0" cellpadding="0" width="900px" bgcolor="#333131" align="center">
  <tr>
    <td>
      <table border="0" cellspacing="0" cellpadding="0" width="900px">
        <tr>
          <td colspan="7" width="900px" height="190px">
            <a href="index.php"><img src="images/banner_top.gif" width="900px" height="190px" border="0" /></a>
          </td>
        </tr>
        <tr>
          <td>
            <a href="index.php"><img src="images/nav_home.gif" width="125px" height="32px" border="0" /></a>
          </td>
          <td>
            <a href="forums/index.php"><img src="images/nav_forum.gif" width="129px" height="32px" border="0" /></a>
          </td>
          <td>
            <a href="files.php"><img src="images/nav_files.gif" width="105px" height="32px" border="0" /></a>
          </td>
          <td>
            <img src="images/banner_bottom.gif" width="163px" height="32px" />
          </td>
          <td>
            <a href="roster.php"><img src="images/nav_roster.gif" width="120px" height="32px" border="0" /></a>
          </td>
          <td>
            <a href="record.php"><img src="images/nav_record.gif" width="129px" height="32px" border="0" /></a>
          </td>
          <td>
            <a href="join.php"><img src="images/nav_join.gif" width="129px" height="32px" border="0" /></a>
          </td>
        </tr>
        <tr>
          <td colspan="7"><img src="images/nav_spacer.gif" width="900px" height="5px" /></td>
        </tr>
      </table>
    </td>
  </tr>
Now, if you go to my site: www.s4g-clan.com/index.php with Firefox, it's fine. But with IE, it puts two gaps in the banner around the nav buttons.

Hopefully someone can help, thanks.
CrazeDizzleD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-09-2008, 06:34 AM Re: Big gap in banner on IE, but not in Firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
remove the white space around the image tags by putting the <td><img ...></td> all on one line.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 07:14 AM Re: Big gap in banner on IE, but not in Firefox
Skilled Talker

Posts: 71
Trades: 0
Thanks for the reply.

I tried what you said and it moved it like 1px, but there's still a big ugly gap there.

Any other ideas?
CrazeDizzleD is offline
Reply With Quote
View Public Profile
 
Old 01-09-2008, 07:36 AM Re: Big gap in banner on IE, but not in Firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Assuming you are meaning the gap between the logo and the nav bar

You still have white space around the nav images.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 05:58 PM Re: Big gap in banner on IE, but not in Firefox
Skilled Talker

Posts: 71
Trades: 0
I put them all right next to the <td> and </td> with no white space, and there is still a gap. I am talking about the logo and the navbar.

It is up and down gap, so why would the placement of whats in the <td></td> tags matter?
CrazeDizzleD is offline
Reply With Quote
View Public Profile
 
Old 01-09-2008, 07:33 PM Re: Big gap in banner on IE, but not in Firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/demo/wt/s4g/

look at the source.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 11:01 PM Re: Big gap in banner on IE, but not in Firefox
Skilled Talker

Posts: 71
Trades: 0
What am I looking for, exactly?

All I see is code that is formatted completely different than my source files.
CrazeDizzleD is offline
Reply With Quote
View Public Profile
 
Old 01-10-2008, 03:13 AM Re: Big gap in banner on IE, but not in Firefox
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
All I see is code that is formatted completely different than my source files.
such as the white space removed around the header and nav images you mean?

and no gaps in IE
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-10-2008, 05:25 AM Re: Big gap in banner on IE, but not in Firefox
Skilled Talker

Posts: 71
Trades: 0
Ah, I see. I wasn't sure what that link was.

I got it fixed now, thanks. Weird though, none of the rest of the template is messed up with that formatting, and now it looks ugly. But oh well.

Thanks again.
CrazeDizzleD is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Big gap in banner on IE, but not in Firefox
 

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.46596 seconds with 12 queries