Jump to content


Photo

making table from MySQL data


  • Please log in to reply
2 replies to this topic

#1 greggustin

greggustin
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 21 July 2006 - 01:55 PM

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

#2 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 21 July 2006 - 02:00 PM

try adding this to your table tag: cellspacing="0" cellpadding="0"

-Chris

#3 greggustin

greggustin
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 22 July 2006 - 12:25 PM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users