473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Row spacing

Jon
Viewing the code below in IE displays spacing between the rows. I'm
specifying no borders or spacing, and there's no disjointing in
Mozilla. What else is there? I want to join the rows.
<table border="0" cellspacing='0' cellpadding='0' width="720" cols="2">

<tr>
<td colspan="2">
<a href="index.html">
<img src="images/banner.gif" border="0">
</a>
</td>
</tr>

<tr valign="top">
<td width="130">
<img name="navigate" src="images/navbar.jpg" border="0">
</td>
.....
Jon

Jul 24 '05 #1
12 20845
In article <11**********************@z14g2000cwz.googlegroups .com>,
no****@jcosby.com enlightened us with...
Viewing the code below in IE displays spacing between the rows. I'm
specifying no borders or spacing,


If you don't sepcify, the browser gets to apply defaults.
And defaults vary by browser.

Specify 0 for margin and padding (CSS) if you don't want any.

--
--
~kaeli~
Time flies like an arrow. Fruit flies like a banana.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 24 '05 #2
Jon wrote:
Viewing the code below in IE displays spacing between the rows.


You haven't provided a URL, so its very hard to say. My guess would be that
there is no space between the rows, but there is between the bottom of the
images and the bottom of the cell that the image is in.

That doesn't look like tabular data anyway, so
http://www.allmyfaqs.com/faq.pl?Tableless_layouts

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #3
Jon
>> Viewing the code below in IE displays spacing between the rows. I'm
specifying no borders or spacing,
If you don't sepcify, the browser gets to apply defaults.
And defaults vary by browser.

Specify 0 for margin and padding (CSS) if you don't want any.


Cellpadding is set to 0 in the table attributes. Tried both in the
stylesheet and still get the same spacing in IE. Don't have it in
Mozilla.

Jon

Jul 24 '05 #4
Jon
> ...My guess would be that there is no space between
the rows, but there is between the bottom of the
images and the bottom of the cell that the image is in.


Good thought, I tried setting the valign property to "top", but IE
still still shows the spacing.
Jon

Jul 24 '05 #5
Jon
Here is the code on the Web. If you folks could have a look at it and
make a suggestion, I'd appreciate it.

http://www.jcosby.com/temp/sample.htm

Jon

Jul 24 '05 #6
Jon wrote:
Here is the code on the Web. If you folks could have a look at it
and make a suggestion, I'd appreciate it.

http://www.jcosby.com/temp/sample.htm


"Please enable JavaScript! It is needed to view these pages."

Oh pshaw.

--
-bts
-This space intentionally left blank.
Jul 24 '05 #7
Jon
> "Please enable JavaScript! It is needed to view these pages."

Oh pshaw.


Are you suggestion this is the problem?

Jon

Jul 24 '05 #8
Jon wrote:

[Beauregard T. Shagnasty wrote:]
"Please enable JavaScript! It is needed to view these pages."

Oh pshaw.


Are you suggestion this is the problem?


Yes, of course.

--
-bts
-This space intentionally left blank.
Jul 24 '05 #9
Jon
>>> "Please enable JavaScript! It is needed to view these pages."
Oh pshaw.
Are you suggestion this is the problem?
Yes, of course.


The JavaScript or the noscript tag? Removing the header makes no
difference.
Jon

Jul 24 '05 #10
Jon wrote:

Please don't snip attributes. Thanks.
"Please enable JavaScript! It is needed to view these pages." Oh pshaw. Are you suggestion this is the problem?

Yes, of course.


The JavaScript or the noscript tag? Removing the header makes no
difference.


Requiring JavaScript to use a site is a bad idea. Use it for
enhancements but not for anything critical, especially navigation.
More and more people are turning it off for security reasons. And then
there is the number one reason: the Googlebot does not read it.

I was not addressing your row spacing problem, rather pointing out a
design problem.

--
-bts
-This space intentionally left blank.
Jul 24 '05 #11
In article <11*********************@g14g2000cwa.googlegroups. com>,
no****@jcosby.com enlightened us with...
Here is the code on the Web. If you folks could have a look at it and
make a suggestion, I'd appreciate it.

http://www.jcosby.com/temp/sample.htm


No doctype!
Quirks mode.
Bad idea.

Try using a doctype. I bet you then see the same issue in Firefox and IE. Or
they both look nice. One or the other. ;)

Interestingly enough, when viewing with Firefox, doing a view source and then
hitting back shows the same space problem as MSIE.
I think what you want is to use a doctype and to set the padding and margin
of your image(s) to 0.

--
--
~kaeli~
A bicycle can't stand on its own because it is two tired.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 24 '05 #12
Jon
kaeli wrote:
Here is the code on the Web. If you folks could
have a look at it and make a suggestion, I'd
appreciate it.

http://www.jcosby.com/temp/sample.htm
No doctype!
Quirks mode.
Bad idea. Try using a doctype. I bet you then see the same
issue in Firefox and IE. Or they both look nice.
One or the other. ;)
Interestingly enough, when viewing with Firefox,
doing a view source and then hitting back shows
the same space problem as MSIE. I think what you
want is to use a doctype and to set the padding
and margin of your image(s) to 0.


I don't know of any image padding or margin properties. Is there
something I'm not aware of?
Jon

Jul 24 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hal Vaughan | last post by:
I'm testing a GUI app on a couple Linux boxen and one Win2k box. I'm using Java 1.4.2 on each (or the closest on Win2k -- whatever version comes close). On one Linux box and the Win2k box the...
12
by: Rick DeBay | last post by:
I'm trying to create a layout table, where the spacing between rows varies. I've tried using setting margin-top and border-top for the rows I wan't spaced down from the one above, and I've also...
7
by: Danny | last post by:
I have a small <div> element which contains two text blocks - one within <h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline...
5
by: Andrew Poulos | last post by:
If I have a text INPUT within a block of text how do I 'correct' for the line spacing. The line spacing above and below the INPUT is larger than the line spacing generally: <div...
4
by: fleemo17 | last post by:
Is there a way to tweak the spacing of lines of text (or leading) *specifically* in IE6? I've created a "Quick Search" box in my layout which renders pretty consistently in all the browsers I've...
12
by: Sebastien B. | last post by:
I'm wondering if it's at all possible to have spacing between a table's cells, and only between the cells, not between the outter cells and the table's border. See end of message for an example...
4
by: metoikos | last post by:
I've scoured the web (clumsily, I'm sure) for information on the difficulties I am having, checked my markup in validators, and had a friend with more CSS clue look over it, but I haven't had any...
3
by: DigMar | last post by:
Hello, Thi is a newbie question regarding the spacing of words in a header with links. I simply want to space the clickable words on my header bar more horizontally. Here is my code to make more...
10
by: phil-news-nospam | last post by:
I have a table with 3 columns in 1 row. I want to increase the spacing _between_ the columns (gutter) _without_ increasing the spacing between those columns and the table itself. Is there a way...
1
by: replyrpatil | last post by:
What I am trying to do: I need to print a compact access report (font 6 size) created using RTF2 program developed by Stephen Lebans to generate a TIF image of custom size (5.5 in x 2.0 in) ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.