• So I’m having issues with my logo on my website (dreamweddingphoto.net). I can’t seem to get a top margin. It should be 20px below the shadow box. I have tried margin-top, just plain margin, floating, etc. Any other ideas?

    ‘#logo {
    background-image: url(“images/dreamlogo.jpg”);
    height:126px;
    width:274px;
    margin-left:310px;
    margin-bottom:30px;
    }’

Viewing 1 replies (of 1 total)
  • try this…

    margin: 30px 0 30px 310px;

    You could also try to use padding-top: 30px if that doesn’t work and you just need a quick fix.

    I also recommend that you don’t set the left margin to center your div. You can use margin-left: auto and margin-right: auto to center the div if the width isn’t set to 100%, which yours isn’t

Viewing 1 replies (of 1 total)

The topic ‘Logo top-margin, css issue’ is closed to new replies.