• Resolved aseenus

    (@aseenus)


    Hey guys on my site I want to get the advertisement place holder to in line with the logo so it sits in the empty white space up the top but I have no idea how to do it! I’ve been at it for such a long time my brain is starting to hurt..

    If someone could check it out and tell me how to do it I would appreciate it a lot! thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • add float: left; declaration to your #logo therefore:

    #logo {
    height:200px;
    margin-left:5px;
    width:260px;
    float: left;
    }

    add float: right; declaration to your #advertisement and delete the margin-left, though you might want to add a margin on top (adjust accordingly), therefore:

    #advert {
    height:91px;
    width:569px;
    float: right;
    margin-top: 20px;
    }

    Okay, just a tip

    568×90 is NOT a regular advertisement space.

    468×60 IS a regular advertising space/ size.

    Also, you need to have your advert div somewhere WITHIN the logo division, rather than outside. Because the log div does not extend more than 260 in width, you have enough room to fit your advert division.

    HOWEVER, my suggestion is to put a general header container and then include both the logo and advert elements. This will keep your advert from shifting over the horizonatal navigation, left sidebar, and content.

    Thread Starter aseenus

    (@aseenus)

    ty blondishnet

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Such a simple CSS problem that I cannot fix’ is closed to new replies.