|
Tailslide -> RE: What am I missing here? (3/29/2008 3:34:17)
|
Hi Dave It's difficult to tell from those excerpts as there might be something else causing the issue - easier to just upload it to the web somewhere so we can have a proper play with it. Things to help though: 1. Might be best while you're learning to use the zeroing approach which means adding something like: * html, body, ul, li {margin:0;padding:0;} This will remove all the default padding and margins to all elements on the page - you can then add them back in as and where you require later on in the stylesheet. Why bother? Well because all browsers have different defaults. 2. If you're going to use CSS then I'd remove all possible presentational stuff from the markup (e.g. fonts, centering etc) and ensure that you've got a valid doctype. Mixing CSS in an external stylesheet with inline styling information is horribly confusing. 3. Maybe give your table an id and apply the margin-top to that?
|
|
|
|