On Sun, 20 Feb 2011 18:31:00 -0500, Zachary Uram <[email protected]>
wrote:

>I am making a table and I wish it to be like this:

>[           Table Heading        ]
>[  blank row                       ]
>[site name                        ]
>[site URL                          ]
>[  blank row                       ]
>[site name                        ]
>[site URL                          ]
>[  blank row                       ]

>and so on...

>Besides having to make a separate table for each pair (of site name
>and URL) is there an easier way to do this so?

Were I to do this using a table - which I wouldn't - I would simply put
a single non-breaking space (&nbsp; in the HTML source) in the "blank
row" cells.  However, being quite pro-CSS myself, and this being a CSS
list, I might instead recommend that you instead use a Definition List,
with styles on the DD to give additional space-after.

Your DL would look roughly like

<P>Table Heading</P>
<DL class="sitelist">
<DT>Site name</DT>
<DD>Site URL</DD>
<DT>Site name</DT>
<DD>Site URL</DD>
<DT>Site name</DT>
<DD>Site URL</DD>
...
</DL>

and your CSS roughly like

.sitelist DD { margin-bottom: 1em; }


-- 
Jeff Zeitlin, Editor
Freelance Traveller
    The Electronic Fan-Supported
    Traveller® Fanzine and Resource

[email protected]
http://www.freelancetraveller.com
http://come.to/freelancetraveller
http://freelancetraveller.downport.com/



®Traveller is a registered trademark of
Far Future Enterprises, 1977-2009. Use of
the trademark in this notice and in the
referenced materials is not intended to
infringe or devalue the trademark.

Freelance Traveller extends its thanks to the following
enterprises for hosting services:

CyberNET Web Hosting (http://www.cyberwebhosting.net)
The Traveller Downport (http://www.downport.com)
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to