문제

I have added schema markup to my website, and I have placed it at the bottom on my page in the footer. On my CSS it says

#copyright {
    float:left;
    margin:13px 10px 0 23;
    width:380px
}

But when I browse it through Firebug it doesn't show the margin, only the float and width. It was showing it before, and all I changed was the first and last numbers of the margin trying to get the schema markup exactly where I wanted it.

도움이 되었습니까?

해결책

One thing I see is that the 23 in your margin list does have 'px' on it. Could that be the issue? Try updating it to:

margin:13px 10px 0 23px;

다른 팁

You have syntax errors:

This:

#copyright {
    float:left;
    margin:13px 10px 0 23;
    width:380px
}

Should Be:

#copyright {
    float:left;
    margin:13px 10px 0 23px;
    width:380px;
}

Notice the missing semicolon after width. This could cause the previous styles from being read. Also the left margin won't be read because you didn't define a unit.

This should work:

#copyright {
    float:left;
    margin:13px 10px 0 23px;
    width:380px;
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top