Sanding our assholes with 150 grit.

gaaaaahhhhhhhhhhh

how can I place a html table inside a css div such that the div is always bigger than the table, no matter how big the table might get?.  (the rows of the table are populated dynamically)

anyone?
Permalink worldsSmallestViolin 
September 19th, 2006 1:52am
I thought div is an abstract container which doesn't really have any attributes other than those you might design. By default, wouldn't it be "bigger" than the table by virtue of being the tables parent in the DOM?
  -tim
Permalink Send private email a2800276 
September 19th, 2006 2:02am
Tim is right.  The "size" of a div is meaningless.
Permalink Send private email Aaron F Stanton 
September 19th, 2006 3:58am
unless you set it
Permalink Send private email Locutus of Borg 
September 19th, 2006 4:17am
You could set the table's width as 100%, the div as relative and set the padding of the div as big as you want
It will look something like


______Div_______
|                |
|  ____________  |
| |            | |
|      Table    |
Permalink Send private email Masiosare 
September 19th, 2006 9:23am
Ohh crap.
Permalink Send private email Masiosare 
September 19th, 2006 9:23am
Copy that to a monospace font :P
Permalink Send private email Masiosare 
September 19th, 2006 9:23am
I thought span would work?
Permalink Send private email Bot Berlin 
September 19th, 2006 1:50pm

This topic is archived. No further replies will be accepted.

Other topics: September, 2006 Other topics: September, 2006 Recent topics Recent topics