Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-03-07
4
Medium Priority
?
363 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 500 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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to count occurrences of each item in an array.

704 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