David Terrell wrote:

> www.cometothewell.org/newsite.

> I'm new to css.  This is the first site that I've coded in css.  My 
> problem is that there seems to be a padding that is shoving all of 
> the content down on the page when it loads in any browser.  I don't 
> understand because it shows up fine in Dreamweaver.

A case of "collapsing margins"[1] in standard compliant browsers.

Add...

#content{padding-top: 1px;}

...or turn that element into a float (or use any other method to
"contain margins"), and all the top margins used on elements will butt
up against the top edge of the container and things will line up as you
want.


> I'm also trying to create a pure css pop-up menu as per 
> http://moronicbajebus.com/wordpress/wp-content/cssplay/pop-up-menus/ 
> and it just isn't working out.

Main reason is that the list isn't properly nested in the source-code,
and also not valid...
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cometothewell.org%2Fnewsite%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&st=1>
A better version is shown under 'Cleaned-up Source Listing with "Tidy"'
down below in that validator-report.

regards
        Georg

[1]http://www.w3.org/TR/CSS21/box.html#collapsing-margins
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to