Jump to content

Archived

This topic is now archived and is closed to further replies.

greggustin

making table from MySQL data

Recommended Posts

everyting is fine
but I want to minimize the row height (spacing between rows output)
so the output is as TIGHT as if I were using "shift returns" in a single cell
I am using styles with padding and margins set to zero

eg

name amount
me      10
him      20

not displayed as now:
name amount

me      10

him      20

Share this post


Link to post
Share on other sites
try adding this to your table tag: cellspacing="0" cellpadding="0"

-Chris

Share this post


Link to post
Share on other sites
tried suggestion both "inline" and via "css class"
the row spacing is not as bad as in my example
in fact, it looks a bit like the spacing here in this post
but I have another section of my web page
that has even 'tighter' row spacing that I am trying to emulate

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.