How to change the Absolute formatting of the Small Biz Starter site? RRS feed

  • Question

  • User-975838769 posted

    I have modest ASP skills but really crappy CSS skills so I am stumped on something.

    In using the Small Biz starter kit, I'd like to replace the site name with an actual logo image. When I do that I find that the rest of the site does not shift/move down and that the logo I just added ends underneath or behind the top of the main part of the site. How do I force the main body of the website down? I am guessing some combo of master page and css but I cannot see it. Can anyone help?



    Thursday, September 1, 2011 5:25 PM

All replies

  • User-1059746826 posted

    How are you positioning the image? You might want to use absolute positioning. Another option would be to set the margin and padding around the logo.

    For example you would have the following

    <div id="CompanyLogo">
     <img src=/images/logo.jpg alt="my company logo" />
    then in your css you could have the following css which would give you 10px of space top, bottom, left, right and then from those
    margins you would then have 2px of space  top, bottom, left, right. 
    #CompanyLogo {
        margin: 10px;
        padding: 2px;
    Tuesday, September 6, 2011 12:00 PM