473,394 Members | 1,717 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.

extra space in a table

I am looking for a way to group lines in a table by putting a bit of
extra space between SOME of the lines.

I found that <tr></tr> gives an nice thin horizonal sliver, but this
does not pass validation.

Other tricks I have tried leave a block in the first column the colour
of the table background.

I found that <hr> is confusing in a lined table, though it works fine
in one without borders. You have just too many lines.

--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/...s_rumsfeld.htm

Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
Jul 21 '05 #1
3 1897
On Sat, 11 Jun 2005 03:33:16 GMT, Roedy Green
<lo*****@mindprod.com.invalid> wrote or quoted :
I am looking for a way to group lines in a table by putting a bit of
extra space between SOME of the lines.

I found that <tr></tr> gives an nice thin horizonal sliver, but this
does not pass validation.

Other tricks I have tried leave a block in the first column the colour
of the table background.

I found that <hr> is confusing in a lined table, though it works fine
in one without borders. You have just too many lines.


here is a solution I came up with that is not bad:

table td.tablespacer /* used to create blank lines in tables */ {
background-color : transparent;
border : none;
}

To insert a blank line in a table use

<tr><td class="tablespacer">&nbsp;</td></tr>
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/...s_rumsfeld.htm

Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
Jul 21 '05 #2
Roedy Green wrote:
I am looking for a way to group lines in a table by putting a bit of
extra space between SOME of the lines.

I found that <tr></tr> gives an nice thin horizonal sliver, but this
does not pass validation.

Other tricks I have tried leave a block in the first column the colour
of the table background.

I found that <hr> is confusing in a lined table, though it works fine
in one without borders. You have just too many lines.


How about this approach (in my test table I used 4 columns, that's why
the colspan is set to 4). It looks the same in my IE 6, Netscape 7.2,
Firefox 1.0.3, Mozilla 1.7.5 :

..spacer{
height: 1px;
line-height: 1px;
margin: 0;
padding: 0;
}

<tr>
<td class='spacer' colspan=4>&nbsp;</td>
</tr>

MIke
Jul 21 '05 #3
Roedy Green schrieb:
I am looking for a way to group lines in a table by putting a bit of
extra space between SOME of the lines.


tbody {border-width: thick}
Jul 21 '05 #4

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

Similar topics

4
by: mappo | last post by:
There are about a million posts on how to get rid of the extra space _after_ the form end-tag, but I can't find any that solve my problem: extra space _in_ the form tag. I have a table nestled...
23
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
1
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
0
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
0
by: Diane Yocom | last post by:
I'm dynamically building a table in the code behind and I'm having a problem with an extra space after the tablerow. The HTML renders like this: <td> <a href="#"><img src="mypicture1.bmp"...
11
by: rfox | last post by:
I've built a site using tables for layout, and it looks ok in everything but in IE where it places extra space around the graphics that contain a rollover script. (Please see...
5
by: dw | last post by:
hello - first, let me state that i am an Asp.Net rookie. here is the situation: i have a page that looks good in the vs.net designer, but when the page renders there are extra amounts...
8
by: dancer | last post by:
Using ASP.net 1.1 to create user input form. When I put a RequiredFieldValidator I have extra space at the bottom of the cell, as if I had put a <br>. When I comment out the...
2
by: Jibran | last post by:
I need some help with extra spaces in HTML form. There is a big white space appearing at the center of the HTML form that I am designing even though there is no <br> tags been used: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.