switch your <body> tag to:
<body style="color: #fff; background: #000; margin-top: 30px;">
and it should be fine.
DAVID COSCIO wrote:
> I'm very new to CSS. I understand the concept at least. The best way for me
> to learn things is in real world situations and here I am in a real world
> situation! I need to have a table sit 30px down from the top of a page.
> Simple as that. I tried setting the margin and that didn't work as far as all
> browsers were concerned especially after I added a doctype. At any rate I
> went out looking for some CSS examples at the suggestion of someone and found
> a few different ones. I tried this one: BODY { margin-top: 30 }. it seemed to
> work until I tried it live. Nothing. I tried a few others that did nothing at
> all. I tried them as embedded and external. It's a simple, no frills page
> with a simple 2-cell table.
> URL:
> http://www.automatwebdesign.com/gasblowing<http://www.automatwebdesign.com/gasblowing>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/