
Here's the description of simpleTable:
http://hackage.haskell.org/packages/archive/xhtml/3000.2.0.1/doc/html/Text-X...
(note the attribute lists)
and here's a working example, for a light at the end of the tunnel:
import Network.CGI
import Text.XHtml
main :: IO ()
main = runCGI $ handleErrors $ (output . renderHtml) ourTable
ourTable = body << simpleTable [cellpadding 30, cellspacing 10, border
2, bordercolor gray] [bgcolor aqua, align "right", align "bottom"]
ourTable'
ourTable' = map (map lineToHtml) [["J\nJ\nJay   y", "Jay", "Jay"],
["Leno", "-Z", "Dilla"]]
Tom
On Jul 17, 2011 3:34 PM, "william murphy"
How does one change the font and size of text in a cells in a simpleTable? As in, to change the height, one could state:
x = simpleTable [] [height "5"] exampleTable
Thanks,
Will