Placing images side by side using in-line CSS, HTML within PHP -


right here website. trying place berkeley image right side of modern career advice logo.

http://moderncareeradvice.com/blog/

however, problem i'm getting berkeley image stays on bottom.

enter image description here

currently code: using wordpress platform , editing php file. have never encountered sometime before. how place right?

$title="<div style='float:left;'> <img src='/blog/wp-content/themes/genesis/images/logo2.png'> <img src='/blog/wp-content/themes/genesis/images/caa_logo.jpg'> </div>"; 

for odd reason, using float:left in div not working...

thanks.

edit:

here full code:

function genesis_seo_site_title() {      //* set goes inside wrapping tags     $inside = sprintf( '<a href="%s">%s</a>', trailingslashit( home_url() ), get_bloginfo( 'name' ) );      //* determine wrapping tags use     $wrap = is_home() && 'title' === genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : 'p';      //* little fallback, in case seo plugin active     $wrap = is_home() && ! genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : $wrap;      //* , finally, $wrap in h1 if html5 & semantic headings enabled     $wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h1' : $wrap;      //* build title     $title  = genesis_html5() ? sprintf( "<{$wrap} %s>", genesis_attr( 'site-title' ) ) : sprintf( '<%s id="title">%s</%s>', $wrap, $inside, $wrap );     $title .= genesis_html5() ? "{$inside}</{$wrap}>" : '';      //*here title header   $title="<div style='float:left;'><img style='display: inline-block;' src='/blog/wp-content/themes/genesis/images/logo2.png'> <img style='display: inline-block;' src='/blog/wp-content/themes/genesis/images/caa_logo.jpg'> </div>";       //* echo (filtered)     echo apply_filters( 'genesis_seo_title', $title, $inside, $wrap );  } 

lots of ways this:

$title="<div> <img style='float: left' src='/blog/wp-content/themes/genesis/images/logo2.png'><img style='float: left' src='/blog/wp-content/themes/genesis/images/caa_logo.jpg'></div>"; 

the float should applied object itself, not parent. make div flot, not img inside.

or:

$title="<div style='float:left;'><img style='display: inline-block;' src='/blog/wp-content/themes/genesis/images/logo2.png'> <img style='display: inline-block;' src='/blog/wp-content/themes/genesis/images/caa_logo.jpg'> </div>"; 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -