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 }.

You need a unit of measure here otherwise it won't work reliably.  Try
body { margin-top: 30px; }.  I've always had better luck with body { 
padding-top: 30px; } for cross browser stability.

AC
-- 
Audra Coldiron

Rock-n-Roll Design & Hosting
http://rock-n-roll-design.com

KarmaCMS ( http://karmawizard.com ) - the ultimate CSS styled CMS.
Pre-made designs, designer tools, and reseller program available!
______________________________________________________________________
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/

Reply via email to