Click here to get back home

Spacing Problem in Explorer

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Spacing Problem in Explorer WPW07 02-06-2008
Get Chitika Premium
Posted by WPW07 on February 6, 2008, 8:49 am
Please log in for more thread options
Hello,

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;
}
-->
</style></head>
<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
bgcolor="#FFFFFF">
<TBODY>
<tr>
<td width="2%">&nbsp;</td>
<td width="96%"><img src="../images/mainnav_logo.jpg" /></td>
<td width="2%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<h3>Page Title</h3>


Posted by Andy Dingley on February 6, 2008, 9:07 am
Please log in for more thread options

> I have several pages that contain the code below.

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

> 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.

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.

Posted by Andreas Prilop on February 6, 2008, 9:20 am
Please log in for more thread options
On Wed, 6 Feb 2008, WPW07 wrote:

> Here's the code.
>
> <style type="text/css">
> <!--

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
http://groups.google.com/groups/search?q=author:Alan.J.Flavell

Similar ThreadsPosted
Layout/spacing problem May 12, 2007, 3:50 pm
  works in internet explorer but problem using in firefox 1.0.4 August 14, 2006, 11:17 am
Problem with rendering some colors when printing an HTML document by Internet Explorer January 26, 2005, 5:47 pm
Row spacing May 13, 2005, 1:22 pm
Spacing after

needs to be compressed

November 12, 2004, 2:03 pm
Way to have spacing between cells *only*? March 24, 2005, 9:37 pm
Spacing in a Table September 26, 2005, 6:33 pm
Spacing in IE and Firefox is different January 9, 2008, 3:44 am
Spacing between menu items. November 18, 2005, 11:17 pm
CSS border length and spacing August 5, 2007, 10:20 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap