Ok I am seriously stumped by this. I have a CSS reset, but some reason my body on my website (Click Here) still has a margin of 8px all the way arround. My CSS reset is pasted below, you can go to the website to see the HTML. The only thing I've noticed is that when you go to inspect element, you can see that the "user agent stylesheet" seems to actually be overriding the reset. So what's up?

@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    display: none;
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
body {
    line-height: 1;
ol, ul {
    list-style: none;
blockquote, q {
    quotes: none;
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
table {
    border-collapse: collapse;
    border-spacing: 0;

Try placing all of your link elements (stylesheet references) in the head section of the page, not the body. In addition, place the CSS Reset first above all of the other link elements.

I tried this but it still didn't work, the only reason I put the CSS links in the body is to see if that would work.

i took another look. its not applying because you have a mispelling.


Aha! My eyes slipped over that, thanks a bunch... the tiniest errors... you think Dreamweaver would notice that? Anyways thanks a bunch, that was the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.