Solved

How do you get images to sit next to each other in Wordpress?

Posted on 2011-03-07
4
327 Views
Last Modified: 2012-05-11
I have a WP blog and being new to this can not figure out how to get these two items to sit next to each other in a post.  I know how to have them sit on top of one another but not next to.  

The first is a image:
 http://localhost:8888/whokilledhiphop.com/wp-content/uploads/2011/03/bull1.jpg

the second is a poll from polldaddy.com:  
<script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/4650124.js"></script>
<noscript>
      <a href="http://polldaddy.com/poll/4650124/">TELL DRAKE HOW YOU FEEL ABOUT THIS SONG.</a><span style="font-size:9px;"><a href="http://polldaddy.com/features-surveys/">online survey</a></span>
</noscript>

if for some reason that image does'nt load any will due.  Im more interested the code so that i can repeat the process.
0
Comment
Question by:Qechols1
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:adeelshahid
ID: 35057242
use this structure and code,


<div>
    <div style="float:left;">
        IMG HERE
    </div>
   
    <div style="float:left;">
        SCRIPT HERE
    </div>

      <div style="clear:both;"></div>
</div>
0
 

Author Comment

by:Qechols1
ID: 35057384
I failed to mention that a margin of 20px is necessary.  
0
 
LVL 2

Accepted Solution

by:
adeelshahid earned 125 total points
ID: 35057391
<div>
    <div style="float:left; margin-right:20px;">
        IMG HERE
    </div>
   
    <div style="float:left;">
        SCRIPT HERE
    </div>

      <div style="clear:both;"></div>
</div>
0
 

Author Closing Comment

by:Qechols1
ID: 35057547
Very fast solution
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now