Hi all. I’d appreciate some help on this.
I’m using DreamWeaver MX to create my webpages. I use nested tables. One main table with only one row and one column (W = 99% and H = n pixels ) and a background image with a repetitive pattern. A second main table (W= 990 pixels and H = n pixels) inserted and centered inside the first main table. This is so that the pages fit all screens 990xn pixels and up with a nice border done by the background image.
The second main table has 3 zones: a header zone at the top (horizontal and same width as the second main table), a menu zone on the left and a text zone, on the right, bigger than the two other zones. I also have a little horizontal table with one row and three columns inserted in the header zone. This is to contain the pictures and the text of the header. There are some other little tables: one inserted in the menu zone at the bottom of the menu in order to contain three “Follow this social network” buttons, one or several little tables inserted in the text zone in order to contain pictures, one little table in order to contain Disqus comments.
Everything was working well. All the pages of my site displayed like I wanted it in Chrome, Firefox, IE8 and IE9. Then I inserted the Disqus commenting system into some of the pages. The pages with the Disqus commenting system displayed well in Chrome and Firefox but, in IE8 and IE9, it was a mess, the comments took all the width and made disappear the majority of the contents of my web pages.
In order to have a correct display of the Disqus comments in IE8 and IE9, I inserted the code of the transitional Doctype declaration in the first line of my Web pages containing a Disqus comment: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">. This action has allowed me to obtain a correct display of the Disqus commenting system in Chrome, Firefox, IE8 and IE9 but there is now a small problem with all the browsers: there are white spaces (blank lines) between the horizontal cell lines of my second main table and the nearest line of text (this is like an additional horizontal padding; the initial vertical and horizontal padding stay unchanged). Each of these undesirable white spaces has the size of a paragraph break.
Here is the beginning of the source code (with no URL) that will allow you to visualize the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><body bgcolor="#FFFFFF" text="#000000">
<head>
<link rel="icon" href="/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="/favicon.ico" type="image/ico" />
<title>Something 1</title>
<META NAME="Description" CONTENT="Something 1a">
<META NAME="Keywords" CONTENT="redui,risk">
<META NAME="Author" CONTENT="Myself"></head>
<table width="99%" height="1078" border="0" align="center" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td width="99%" height="1078" valign="top" background="imaj/fonbodi.jpg" bgcolor="#FFFFFF">
<br>
<table width="990" height="1000" border="0" align="center" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr bgcolor="#FFFFFF">
<td height="170" colspan="2"> <div align="center">
<table width="100%" height="162" border="0" align="left" cellpadding="3" cellspacing="3" bordercolor="#FFFFFF">
<tr>
<td width="19%" bgcolor="#FFFFFF"> <div align="center"><img src="imaj/thing.jpg" width="150" height="150"></div></td>
<td width="62%" background="imaj/thing2.jpg" bgcolor="#FFFFFF">
<div align="center">
<p align="left"><font color="#0000FF" size="6" face="Arial, Helvetica, sans-serif"><strong><font face="Courier New, Courier, mono">Bigger Title<br>
</font></strong></font><font color="#0000FF" face="Courier New, Courier, mono"><strong><font size="6"><strong>www.BigTitle</strong></font></strong></font><font color="#0000FF"><strong><font size="5" face="Arial, Helvetica, sans-serif"><br>
<font size="4" face="Courier New, Courier, mono">Something 2</font></font></strong></font></p>
<p align="left"><font color="#0000FF" size="6" face="Arial, Helvetica, sans-serif"><strong><font color="#0000FF" size="6" face="Arial, Helvetica, sans-serif"><strong><font size="1"><img src="imaj/picture.JPG" width="15" height="10" border="1">
<img src="imaj/picture.JPG" width="15" height="10" border="1">
<img src="imaj/picture.JPG" width="15" height="10" border="1">
</font><font color="#0000FF" size="6" face="Arial, Helvetica, sans-serif"><strong><font color="#0000FF" size="6" face="Arial, Helvetica, sans-serif"><strong><font size="1"><img src="imaj/picture.JPG" width="15" height="10" border="1"></font></strong></font></strong></font></strong></font></strong></font></p>
</div></td>
<td width="19%" height="162" bgcolor="#FFFFFF">
<div align="center"><img src="imaj/thing3.jpg" width="137" height="150">
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="235" height="821" valign="top" bgcolor="#FFFFFF">
<p> </p>
<ul>
<li><font color="#0000FF" size="2" face="Arial, Helvetica, sans-serif" align="left"><strong><font face="Courier New, Courier, mono"><a href="../index.htm">Akèy</a></font></strong></font></li>
</ul>
<ul>
<li><font size="2" face="Courier New, Courier, mono"><strong><font color="#0000FF"><a href="Something4.htm">Something4</a></font></strong></font></li>
<li><font size="2" face="Courier New, Courier, mono"><strong><font color="#0000FF"><a href="Something5.htm">Something5</a></font></strong></font></li>
</ul>
<ul>
…
My question is: what should I do in order to remove these undesirable white spaces?
I don’t know how to use CSS. Please give me a solution with no CSS. If the only solution available contains CSS, please give me the complete code and the exact location(s) where I have to insert the code in my web pages.
Many thanks.
Herwin
[edited by: bill at 1:47 pm (utc) on May 25, 2013]