Solved

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

Posted on 2011-03-07
4
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With Wordpress gaining more and more popularity not only as blogging platform but as a shopping or CMS solution, it's worth to know which plugins are the first ones to grab and integrate with your website. We will briefly go over the most useful plu…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

615 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