Spacing Problem in Explorer

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have several pages that contain the code below. All the pages all
look great in Firefox. But in IE6 and IE7, there is a problem--white
space vanishes and the text is too close to the objects above it.
Specifically, The <h3>Page Title</h3>appears too close underneath the
logo at the top of the page    <td width="96%"><img src="../images/
mainnav_logo.jpg" /></td>. It's fine in Firefox, however.

Any ideas and help is greatly appreciated.

Thank you,

Here's the code.

<style type="text/css">
body {
    background-color: #878737;
<body text="#333333" vlink="#333333" alink="#333333" leftmargin="0"
topmargin="0" marginwidth="0" marginheight="0">
<TABLE width="800" border=0 align="center" cellpadding=0 cellspacing=0
    <td width="2%">&nbsp;</td>
    <td width="96%"><img src="../images/mainnav_logo.jpg" /></td>
    <td width="2%">&nbsp;</td>
      <h3>Page Title</h3>

Re: Spacing Problem in Explorer

Quoted text here. Click to load it

Post a URL not the page code, and certainly not a fragment.

Quoted text here. Click to load it

Which doctype declaration are you using and are you rendering with
strict or quirks mode?  This is quite possible to be your problem, but
we can't tell because you didn't post a URL.

Additionally, your coding style is 10 years out of date. <table>
markup, 3.2 presentational attributes, no use of CSS. Few people will
work to fix such markup, it's better overall to start again and do it
clean. However you didn't post a URL to the whole page, so we can't
comment in any more detail.

Re: Spacing Problem in Explorer

On Wed, 6 Feb 2008, WPW07 wrote:

Quoted text here. Click to load it

It is really nice that you care about readers with Netscape 2.
However, many already have Netscape 3. And Netscape 3 does not
need these pseudo-comment markers any more.

You should also try out Netscape 3!

In memoriam Alan J. Flavell

Re: Spacing Problem in Explorer

Thank you for your responses.  All I can say is, this is
disconcerting.  I'm extremely new at this and used Dreamweaver CS to
build the pages.  It's producing code that is 10 years of out date?
For what's it's worth, here is the doctype declarations that were
automatically created when I clicked new page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://">
<html xmlns=" ">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I'll start from scratch, as suggested without dreamweaver.  Can you
recommend a good book to help me develop code using current
standards?  I'll also check out the w3 tutorial.

Thanks again for your help.

Quoted text here. Click to load it

Re: Spacing Problem in Explorer

WPW07 wrote:
Quoted text here. Click to load it

Try the tutorials at, they are probably the best at
being "modern" and giving you a good foundation. There are too many book
and tutorials online that are obsolete or promote poor practice or both.

Restrict your study to *HTML* and use doctype

             " ">

And you will have a less frustrating journey...

Take care,

Site Timeline