Solved

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

Posted on 2011-03-07
4
332 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
website file permissions 4 65
How to insert plugin in a WordPress page 4 42
Getting Started on web Development for an experienced C++ developer 7 102
MVC and Angular 2 88
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.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

914 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

15 Experts available now in Live!

Get 1:1 Help Now