Stupid CSS Question
Nov. 13th, 2007 01:53 pmSo, I have a table on a page. I'd like to make it so that there's no space above or below the table... it should just start at the edge of the browser at the top and bottom. How do I do that? Your answer will earn my undying gratitude! And maybe a grilled cheese sandwich.
no subject
on 2007-11-13 07:04 pm (UTC)no subject
on 2007-11-13 07:20 pm (UTC)no subject
on 2007-11-13 08:21 pm (UTC)no subject
on 2007-11-13 08:52 pm (UTC)no subject
on 2007-11-13 08:57 pm (UTC)Secondarily, put a clear.gif in the space that won't go away and resize it to 1x1 pixel.
After that, I got nothin'. My web coding skills stop just around tables.
no subject
on 2007-11-13 09:07 pm (UTC)Try FireBug...
on 2007-11-13 11:54 pm (UTC)Check border, margin and padding of the table, the td, tr and the body tags. I bet the body is tripping you up in this case...
Failing that. You can specify negative numbers for margin to scoot stuff around.
-ben
Re: Try FireBug...
on 2007-11-14 04:54 am (UTC)