WordPress.org

Support

Support » How-To and Troubleshooting » Add SWF to right of logo in header

Add SWF to right of logo in header

Viewing 5 replies - 1 through 5 (of 5 total)
  • webmarshall
    Member

    @webmarshall

    Whoops: site is afengineering.co

    I need the ants to sit to the right of the logo

    phe.le
    Participant

    @phele

    On line 76 in styles.css, #header-logo, add “float: left;” and change the width to 350px;

    #header-logo {
    float: left;
    width: 350px;
    }

    webmarshall
    Member

    @webmarshall

    Ahhhh, you are awesome! It worked perfectly. Ok, being the “why” person that I am…was it the float:left that allowed the ants to float left as well?

    Thank you Thank you Thank you!

    phe.le
    Participant

    @phele

    That was just a quick fix. It floats everything after the DIV to its right. I assumed you didn’t know much css, so I made it easy for you.

    Normally, you would do the same as as above. Then add a float property to the DIV around the swf object. Then clear both float all together.

    #header-logo {
    float: left;
    width: 350px;
    }

    #head-banner {
    float: left;
    width: the width of that swf object, or what ever the remaining width.
    }

    See: http://www.w3schools.com/css/css_float.asp and http://css-tricks.com/all-about-floats/

    webmarshall
    Member

    @webmarshall

    Thank you very much! I will study CSS with more diligence 🙂

    Happy Holidays!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add SWF to right of logo in header’ is closed to new replies.